Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 107.4 kB / 17.16 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 198 kB / 18.07 MB, free: 5.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.1 MB / 223.9 MB, free: 12.5 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 47.92 kB / 280 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09/0.09124, allocations: 46.62 MB / 326.6 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer): time 0.01746/0.1087, allocations: 16.56 MB / 343.2 MB, free: 4.262 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01254/0.1213, allocations: 5.647 MB / 348.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003628/0.1251, allocations: 95.56 kB / 348.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004101/0.1292, allocations: 1.158 MB / 350.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005961/0.1352, allocations: 1.632 MB / 351.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002847/0.138, allocations: 0.9826 MB / 352.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00833/0.1464, allocations: 6.919 MB / 359.6 MB, free: 3.762 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005125/0.1515, allocations: 4.421 MB / 364 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004446/0.156, allocations: 2.375 MB / 366.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004955/0.161, allocations: 3.101 MB / 369.5 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001396/0.1624, allocations: 468 kB / 370 MB, free: 9.309 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002534/0.165, allocations: 0.7457 MB / 370.7 MB, free: 8.562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001495/0.1665, allocations: 1.507 MB / 372.2 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005293/0.1718, allocations: 2.97 MB / 375.2 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1775/0.3493, allocations: 10.15 MB / 385.3 MB, free: 24.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.898e-05/0.3494, allocations: 0 / 385.3 MB, free: 24.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3494, allocations: 3.719 kB / 385.3 MB, free: 24.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003406/0.3497, allocations: 0 / 385.3 MB, free: 24.77 MB / 318.1 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.02398/0.3737, allocations: 6.501 MB / 391.8 MB, free: 22.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.3738, allocations: 11.69 kB / 391.8 MB, free: 22.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006242/0.38, allocations: 1.061 MB / 392.9 MB, free: 22.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007939/0.388, allocations: 3.337 MB / 396.2 MB, free: 21.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003294/0.3883, allocations: 366.2 kB / 396.6 MB, free: 21.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001933/0.3903, allocations: 487.8 kB / 397.1 MB, free: 21.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02071/0.411, allocations: 6.865 MB / 403.9 MB, free: 18.13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002738/0.4113, allocations: 10.56 kB / 404 MB, free: 18.13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001968/0.4133, allocations: 201.3 kB / 404.2 MB, free: 17.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002749/0.4136, allocations: 239.9 kB / 404.4 MB, free: 17.94 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01399/0.4276, allocations: 5.929 MB / 410.3 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04406/0.4717, allocations: 20.94 MB / 431.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01063/0.4824, allocations: 9.953 MB / 441.2 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004648/0.4871, allocations: 2.489 MB / 443.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01471/0.5018, allocations: 6.509 MB / 450.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.303e-05/0.5019, allocations: 64.56 kB / 450.3 MB, free: 7.418 MB / 350.1 MB Notification: Performance of pre-optimization done (n=219): time 3.897e-06/0.5019, allocations: 0 / 450.3 MB, free: 7.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=226): time 0.02139/0.5233, allocations: 9.674 MB / 459.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.5234, allocations: 77.41 kB / 460 MB, free: 13.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007588/0.531, allocations: 2.992 MB / 463 MB, free: 10.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003668/0.5314, allocations: 65.7 kB / 463.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002272/0.5337, allocations: 2.156 MB / 465.2 MB, free: 8.254 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009812/0.5347, allocations: 0.7568 MB / 466 MB, free: 7.504 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001199/0.5359, allocations: 465 kB / 466.4 MB, free: 7.043 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.536, allocations: 313.1 kB / 466.7 MB, free: 6.734 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002562/0.5386, allocations: 1.289 MB / 468 MB, free: 5.441 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002968/0.5416, allocations: 1.923 MB / 470 MB, free: 3.262 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005314/0.5469, allocations: 3.343 MB / 473.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.966e-05/0.547, allocations: 4 kB / 473.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.007886/0.5549, allocations: 4.248 MB / 477.6 MB, free: 11.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/0.5549, allocations: 15.94 kB / 477.6 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.571e-05/0.555, allocations: 20 kB / 477.6 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00265/0.5576, allocations: 0.7702 MB / 478.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002551/0.5602, allocations: 0.5641 MB / 478.9 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/0.5715, allocations: 10.04 MB / 489 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003311/0.5749, allocations: 107.9 kB / 489.1 MB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006657/0.5756, allocations: 107.9 kB / 489.2 MB, free: 15.5 MB / 398.1 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 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * 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 (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004263/0.5798, allocations: 1.608 MB / 490.8 MB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001348/0.5812, allocations: 322.5 kB / 491.1 MB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008364/0.5896, allocations: 3.905 MB / 495 MB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/0.5896, allocations: 24 kB / 495 MB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.625e-05/0.5897, allocations: 15.94 kB / 495 MB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-05/0.5897, allocations: 11.95 kB / 495 MB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01767/0.6074, allocations: 8.551 MB / 0.4918 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.6074, allocations: 8.25 kB / 0.4918 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00164/0.6091, allocations: 345.7 kB / 0.4921 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003309/0.6124, allocations: 0.9413 MB / 0.493 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003021/0.6127, allocations: 51.98 kB / 0.4931 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01586/0.6286, allocations: 14.41 MB / 0.5072 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.6287, allocations: 3.562 kB / 0.5072 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/0.6393, allocations: 5.693 MB / 0.5127 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002353/0.6417, allocations: 0.6846 MB / 0.5134 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001232/0.643, allocations: 52 kB / 0.5135 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002523/0.6455, allocations: 111.9 kB / 0.5136 GB, free: 9.914 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005904/0.6461, allocations: 188.9 kB / 0.5137 GB, free: 9.734 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002212/0.6464, allocations: 64.55 kB / 0.5138 GB, free: 9.672 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004826/0.6512, allocations: 2.062 MB / 0.5158 GB, free: 7.609 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6512, allocations: 0 / 0.5158 GB, free: 7.609 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00489/0.6561, allocations: 0.9398 MB / 0.5167 GB, free: 6.672 MB / 430.1 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,8,100.0%), (2,26,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008577/0.657, allocations: 264.5 kB / 0.517 GB, free: 6.426 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006869/0.6639, allocations: 3.891 MB / 0.5208 GB, free: 2.531 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.6639, allocations: 0 / 0.5208 GB, free: 2.531 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004635/0.6686, allocations: 2.649 MB / 0.5234 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00585/0.6744, allocations: 0.8603 MB / 0.5242 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02145/0.6959, allocations: 11.58 MB / 0.5355 GB, free: 3.367 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1721/0.868, allocations: 3.424 MB / 0.5389 GB, free: 158 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003183/0.8712, allocations: 0.7569 MB / 0.5396 GB, free: 158 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005938/0.8718, allocations: 194 kB / 0.5398 GB, free: 158 MB / 446.1 MB Notification: Performance of SimCode: time 1.482e-06/0.8718, allocations: 0 / 0.5398 GB, free: 158 MB / 446.1 MB Notification: Performance of Templates: time 0.0821/0.9539, allocations: 49 MB / 0.5876 GB, free: 125.5 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches