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_Transformer.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_Transformer,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|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer,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|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 175.2 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.421/1.421, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007483/0.0007483, allocations: 85 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003288, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2569, allocations: 47.57 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer): time 0.01455/0.2715, allocations: 14.8 MB / 389.9 MB, free: 33.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01253/0.2841, allocations: 5.35 MB / 395.3 MB, free: 28.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004519/0.2887, allocations: 87.56 kB / 395.3 MB, free: 28.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004141/0.2928, allocations: 1.01 MB / 396.3 MB, free: 27.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006991/0.2999, allocations: 1.5 MB / 397.8 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003083/0.303, allocations: 0.7097 MB / 398.6 MB, free: 25.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009003/0.312, allocations: 6.468 MB / 405 MB, free: 18.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008139/0.3202, allocations: 4.394 MB / 409.4 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005002/0.3253, allocations: 2.06 MB / 411.5 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004902/0.3302, allocations: 2.622 MB / 414.1 MB, free: 9.527 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002201/0.3324, allocations: 332 kB / 414.4 MB, free: 9.203 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004076/0.3365, allocations: 0.605 MB / 415 MB, free: 8.598 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002494/0.3391, allocations: 1.296 MB / 416.3 MB, free: 7.297 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006031/0.3451, allocations: 2.646 MB / 419 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01122/0.3564, allocations: 8.582 MB / 427.6 MB, free: 12.03 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.709e-06/0.3564, allocations: 0 / 427.6 MB, free: 12.03 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.035e-06/0.3564, allocations: 0 / 427.6 MB, free: 12.03 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004729/0.3569, allocations: 0 / 427.6 MB, free: 12.03 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.01885/0.3758, allocations: 5.481 MB / 433 MB, free: 6.465 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.3758, allocations: 16.02 kB / 433 MB, free: 6.449 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00639/0.3822, allocations: 1.064 MB / 434.1 MB, free: 5.379 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00877/0.3911, allocations: 3.33 MB / 437.4 MB, free: 1.973 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004859/0.3916, allocations: 373.7 kB / 437.8 MB, free: 1.605 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002086/0.3937, allocations: 487.8 kB / 438.3 MB, free: 1.129 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02195/0.4156, allocations: 6.838 MB / 445.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002119/0.4159, allocations: 7.906 kB / 445.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00166/0.4176, allocations: 196 kB / 445.3 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003706/0.418, allocations: 245.8 kB / 445.6 MB, free: 9.766 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01699/0.435, allocations: 5.914 MB / 451.5 MB, free: 3.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04898/0.484, allocations: 21.05 MB / 472.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.012/0.4961, allocations: 9.959 MB / 482.5 MB, free: 3.367 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005618/0.5017, allocations: 2.501 MB / 485 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01434/0.5161, allocations: 6.529 MB / 491.5 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.618e-05/0.5162, allocations: 60.56 kB / 491.6 MB, free: 10.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=219): time 4.418e-06/0.5162, allocations: 0 / 491.6 MB, free: 10.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=226): time 0.01876/0.535, allocations: 9.749 MB / 0.4896 GB, free: 192 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.5351, allocations: 73.41 kB / 0.4896 GB, free: 108 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2266/0.7617, allocations: 2.961 MB / 0.4925 GB, free: 104.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005655/0.7624, allocations: 66.67 kB / 0.4926 GB, free: 104.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001698/0.7641, allocations: 2.158 MB / 0.4947 GB, free: 103.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008611/0.7649, allocations: 0.7579 MB / 0.4954 GB, free: 102.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.7651, allocations: 50.09 kB / 0.4955 GB, free: 102.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.7653, allocations: 406.4 kB / 0.4959 GB, free: 102.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002534/0.7678, allocations: 1.294 MB / 0.4971 GB, free: 102.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002591/0.7704, allocations: 1.92 MB / 0.499 GB, free: 100.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004912/0.7754, allocations: 3.363 MB / 0.5023 GB, free: 98.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-05/0.7754, allocations: 5.406 kB / 0.5023 GB, free: 98.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.007301/0.7827, allocations: 4.249 MB / 0.5065 GB, free: 97.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.675e-05/0.7828, allocations: 11.84 kB / 0.5065 GB, free: 97.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.363e-05/0.7829, allocations: 23.47 kB / 0.5065 GB, free: 97.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002492/0.7854, allocations: 0.7649 MB / 0.5072 GB, free: 96.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002175/0.7875, allocations: 0.5819 MB / 0.5078 GB, free: 96.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008484/0.796, allocations: 10.02 MB / 0.5176 GB, free: 87.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002674/0.7988, allocations: 115.9 kB / 0.5177 GB, free: 87.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002773/0.7991, allocations: 104 kB / 0.5178 GB, free: 87.15 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 273 * 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 {(3,100.0%) 25,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003033/0.8021, allocations: 1.615 MB / 0.5194 GB, free: 85.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007099/0.8028, allocations: 312.2 kB / 0.5197 GB, free: 85.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005615/0.8084, allocations: 3.92 MB / 0.5235 GB, free: 81.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/0.8085, allocations: 20 kB / 0.5235 GB, free: 81.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/0.8085, allocations: 12 kB / 0.5235 GB, free: 81.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/0.8085, allocations: 11.95 kB / 0.5235 GB, free: 81.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01236/0.8209, allocations: 8.59 MB / 0.5319 GB, free: 72.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.8209, allocations: 1.375 kB / 0.5319 GB, free: 72.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/0.8223, allocations: 351.8 kB / 0.5323 GB, free: 72.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002683/0.825, allocations: 0.9319 MB / 0.5332 GB, free: 71.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001795/0.8252, allocations: 59.97 kB / 0.5332 GB, free: 71.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01159/0.8368, allocations: 14.41 MB / 0.5473 GB, free: 55.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.8369, allocations: 8.062 kB / 0.5473 GB, free: 55.97 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007577/0.8445, allocations: 5.708 MB / 0.5529 GB, free: 50.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/0.846, allocations: 0.6885 MB / 0.5536 GB, free: 49.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004711/0.8465, allocations: 59.59 kB / 0.5536 GB, free: 49.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/0.8479, allocations: 119.9 kB / 0.5537 GB, free: 49.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004508/0.8483, allocations: 181.7 kB / 0.5539 GB, free: 49.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/0.8485, allocations: 67.92 kB / 0.554 GB, free: 49.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002917/0.8514, allocations: 2.038 MB / 0.556 GB, free: 47 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.8514, allocations: 0 / 0.556 GB, free: 47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00356/0.855, allocations: 0.9403 MB / 0.5569 GB, free: 46.06 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (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,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 150 * 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%) 8,(2,100.0%) 26,(1,100.0%) 1,(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.0006276/0.8556, allocations: 259.3 kB / 0.5571 GB, free: 45.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005252/0.8609, allocations: 3.907 MB / 0.5609 GB, free: 41.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.8609, allocations: 0 / 0.5609 GB, free: 41.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003286/0.8642, allocations: 2.645 MB / 0.5635 GB, free: 39.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004585/0.8688, allocations: 0.8734 MB / 0.5644 GB, free: 38.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/0.8833, allocations: 11.16 MB / 0.5753 GB, free: 27.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002546/0.8859, allocations: 3.336 MB / 0.5785 GB, free: 23.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/0.887, allocations: 211.4 kB / 0.5787 GB, free: 23.47 MB / 378.7 MB Notification: Performance of SimCode: time 1.103e-06/0.887, allocations: 0 / 0.5787 GB, free: 23.47 MB / 378.7 MB Notification: Performance of Templates: time 0.4614/1.348, allocations: 203 MB / 0.777 GB, free: 22.92 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer_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_Transformer/AIMC_Transformer.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches