Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001621/0.001621, allocations: 175.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205.4 MB / 222.9 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007505/0.0007506, allocations: 80.81 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000294/0.000294, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2185, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD): time 0.01062/0.2292, allocations: 12.06 MB / 387.2 MB, free: 35.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007493/0.2367, allocations: 4.205 MB / 391.4 MB, free: 32.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001679/0.2385, allocations: 67.69 kB / 391.4 MB, free: 32.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.2403, allocations: 0.7729 MB / 392.2 MB, free: 31.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002882/0.2432, allocations: 1.15 MB / 393.3 MB, free: 30.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.2446, allocations: 0.6204 MB / 394 MB, free: 29.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00382/0.2484, allocations: 4.797 MB / 398.8 MB, free: 24.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0029/0.2514, allocations: 3.024 MB / 401.8 MB, free: 21.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.2532, allocations: 1.486 MB / 403.3 MB, free: 20.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001877/0.2551, allocations: 1.91 MB / 405.2 MB, free: 18.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004025/0.2555, allocations: 240 kB / 405.4 MB, free: 18.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.2565, allocations: 443.7 kB / 405.9 MB, free: 17.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000572/0.2571, allocations: 0.9147 MB / 406.8 MB, free: 16.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001662/0.2588, allocations: 1.942 MB / 408.7 MB, free: 14.94 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004087/0.2629, allocations: 6.338 MB / 415 MB, free: 8.586 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.2629, allocations: 0 / 415 MB, free: 8.586 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2629, allocations: 0 / 415 MB, free: 8.586 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001305/0.2631, allocations: 4 kB / 415.1 MB, free: 8.582 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.008749/0.2718, allocations: 4.261 MB / 419.3 MB, free: 4.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.2719, allocations: 12.03 kB / 419.3 MB, free: 4.238 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003907/0.2758, allocations: 0.878 MB / 420.2 MB, free: 3.355 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004104/0.2799, allocations: 2.581 MB / 422.8 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001719/0.2801, allocations: 275.6 kB / 423.1 MB, free: 464 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005274/0.2806, allocations: 363.8 kB / 423.4 MB, free: 100 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00877/0.2894, allocations: 5.009 MB / 428.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-05/0.2895, allocations: 11.92 kB / 428.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003368/0.2899, allocations: 148 kB / 428.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000134/0.29, allocations: 159.2 kB / 428.7 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007918/0.2979, allocations: 4.377 MB / 433.1 MB, free: 6.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02571/0.3237, allocations: 15.99 MB / 449.1 MB, free: 5.969 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007096/0.3308, allocations: 7.78 MB / 456.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002666/0.3335, allocations: 1.729 MB / 458.6 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00759/0.3411, allocations: 4.663 MB / 463.3 MB, free: 6.809 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.3412, allocations: 55.88 kB / 463.3 MB, free: 6.742 MB / 346.7 MB Notification: Performance of pre-optimization done (n=161): time 3.697e-06/0.3412, allocations: 0 / 463.3 MB, free: 6.742 MB / 346.7 MB Notification: Performance of matching and sorting (n=164): time 0.01669/0.3579, allocations: 8.201 MB / 471.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.358, allocations: 68.72 kB / 471.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003237/0.3612, allocations: 2.143 MB / 473.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002164/0.3615, allocations: 53.7 kB / 473.8 MB, free: 12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001106/0.3626, allocations: 1.612 MB / 475.4 MB, free: 10.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005193/0.3631, allocations: 0.5585 MB / 476 MB, free: 9.801 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.3632, allocations: 44 kB / 476 MB, free: 9.758 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.3634, allocations: 381.8 kB / 476.4 MB, free: 9.379 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/0.3649, allocations: 0.9447 MB / 477.3 MB, free: 8.434 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001876/0.3668, allocations: 1.464 MB / 478.8 MB, free: 6.758 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003435/0.3703, allocations: 2.518 MB / 481.3 MB, free: 4.027 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.3703, allocations: 4 kB / 481.3 MB, free: 4.023 MB / 362.7 MB Notification: Performance of matching and sorting (n=245) (initialization): time 0.005532/0.3758, allocations: 3.355 MB / 484.7 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.3759, allocations: 12 kB / 484.7 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-05/0.3759, allocations: 19.94 kB / 484.7 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00183/0.3778, allocations: 0.7359 MB / 485.4 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/0.3793, allocations: 375.4 kB / 485.8 MB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/0.3901, allocations: 10.41 MB / 496.2 MB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/0.3919, allocations: 91.86 kB / 496.3 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/0.3921, allocations: 75.98 kB / 496.4 MB, free: 4.371 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002272/0.3944, allocations: 1.212 MB / 497.6 MB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003958/0.3948, allocations: 225.3 kB / 497.8 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1746/0.5694, allocations: 3.177 MB / 0.4892 GB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/0.5695, allocations: 15.34 kB / 0.4892 GB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.42e-05/0.5695, allocations: 10.34 kB / 0.4893 GB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.786e-05/0.5696, allocations: 9.547 kB / 0.4893 GB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01138/0.581, allocations: 6.577 MB / 0.4957 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.581, allocations: 7.688 kB / 0.4957 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008393/0.5819, allocations: 182 kB / 0.4959 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002309/0.5842, allocations: 0.9047 MB / 0.4968 GB, free: 103.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/0.5844, allocations: 42.05 kB / 0.4968 GB, free: 103.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01319/0.5976, allocations: 14.81 MB / 0.5113 GB, free: 92.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5976, allocations: 3.906 kB / 0.5113 GB, free: 92.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006474/0.6041, allocations: 4.53 MB / 0.5157 GB, free: 89.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/0.6052, allocations: 0.5189 MB / 0.5162 GB, free: 89.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002671/0.6055, allocations: 35.84 kB / 0.5162 GB, free: 89.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008938/0.6064, allocations: 89 kB / 0.5163 GB, free: 89.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004137/0.6068, allocations: 164.4 kB / 0.5165 GB, free: 89.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.53e-05/0.6069, allocations: 49.14 kB / 0.5165 GB, free: 89.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001905/0.6088, allocations: 1.47 MB / 0.5179 GB, free: 87.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6088, allocations: 0 / 0.5179 GB, free: 87.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002169/0.611, allocations: 0.6992 MB / 0.5186 GB, free: 87.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003087/0.6113, allocations: 175.1 kB / 0.5188 GB, free: 87.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003981/0.6153, allocations: 3.124 MB / 0.5218 GB, free: 83.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.6154, allocations: 0 / 0.5218 GB, free: 83.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002751/0.6181, allocations: 2.274 MB / 0.5241 GB, free: 81.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003004/0.6211, allocations: 0.5981 MB / 0.5246 GB, free: 80.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.6312, allocations: 8.127 MB / 0.5326 GB, free: 72.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001847/0.6331, allocations: 2.627 MB / 0.5352 GB, free: 70.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006344/0.6337, allocations: 147.4 kB / 0.5353 GB, free: 70.01 MB / 378.7 MB Notification: Performance of SimCode: time 1.423e-06/0.6337, allocations: 0 / 0.5353 GB, free: 70.01 MB / 378.7 MB Notification: Performance of Templates: time 0.3084/0.9421, allocations: 150.6 MB / 0.6824 GB, free: 122.3 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_YD/AIMC_YD.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches