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.001568/0.001567, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001828/0.001828, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.378/1.378, allocations: 205.1 MB / 225 MB, free: 12.32 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.001637/0.001637, allocations: 59.92 kB / 281.3 MB, free: 3.18 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08535/0.087, allocations: 46.63 MB / 328 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer): time 0.01991/0.1069, allocations: 16.75 MB / 344.7 MB, free: 3.645 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01264/0.1196, allocations: 5.721 MB / 350.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00372/0.1234, allocations: 91.62 kB / 350.5 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004648/0.1281, allocations: 1.332 MB / 351.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006277/0.1344, allocations: 1.775 MB / 353.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003323/0.1377, allocations: 1.052 MB / 354.7 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008886/0.1466, allocations: 6.301 MB / 361 MB, free: 3.305 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009703/0.1564, allocations: 5.284 MB / 366.3 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006775/0.1632, allocations: 2.934 MB / 369.2 MB, free: 11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006761/0.17, allocations: 3.328 MB / 372.5 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002587/0.1726, allocations: 0.7891 MB / 373.3 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003889/0.1765, allocations: 1.078 MB / 374.4 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003116/0.1797, allocations: 1.866 MB / 376.3 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006404/0.1861, allocations: 3.342 MB / 379.6 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1731/0.3592, allocations: 10.43 MB / 390 MB, free: 22.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.3593, allocations: 0 / 390 MB, free: 22.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3593, allocations: 2.625 kB / 390 MB, free: 22.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003965/0.3597, allocations: 1.188 kB / 390 MB, free: 22.93 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.02461/0.3843, allocations: 6.514 MB / 396.5 MB, free: 20.11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.3844, allocations: 8.969 kB / 396.5 MB, free: 20.11 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006417/0.3908, allocations: 1.058 MB / 397.6 MB, free: 19.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007805/0.3986, allocations: 3.381 MB / 401 MB, free: 18.49 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003351/0.399, allocations: 363.2 kB / 401.3 MB, free: 18.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001842/0.4008, allocations: 489 kB / 401.8 MB, free: 18.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01371/0.4145, allocations: 6.871 MB / 408.7 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/0.4147, allocations: 11.44 kB / 408.7 MB, free: 14.37 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007371/0.4155, allocations: 199.5 kB / 408.9 MB, free: 14.22 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001649/0.4156, allocations: 238.2 kB / 409.1 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/0.4268, allocations: 5.923 MB / 415.1 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04044/0.4673, allocations: 20.94 MB / 436 MB, free: 7.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01151/0.4789, allocations: 9.949 MB / 445.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004932/0.4838, allocations: 2.489 MB / 448.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01503/0.4989, allocations: 6.518 MB / 454.9 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.97e-05/0.499, allocations: 60.56 kB / 455 MB, free: 3.195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=219): time 5.921e-06/0.499, allocations: 0 / 455 MB, free: 3.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=226): time 0.02231/0.5213, allocations: 9.672 MB / 464.7 MB, free: 9.359 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.5214, allocations: 81.39 kB / 464.8 MB, free: 9.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006774/0.5282, allocations: 2.991 MB / 467.7 MB, free: 6.266 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004632/0.5287, allocations: 64.8 kB / 467.8 MB, free: 6.199 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001829/0.5306, allocations: 2.158 MB / 470 MB, free: 4.027 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001049/0.5316, allocations: 0.7598 MB / 470.7 MB, free: 3.273 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001243/0.5329, allocations: 465.1 kB / 471.2 MB, free: 2.812 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.948e-05/0.533, allocations: 305.1 kB / 471.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00234/0.5353, allocations: 1.293 MB / 472.8 MB, free: 1.215 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002718/0.5381, allocations: 1.919 MB / 474.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005086/0.5432, allocations: 3.344 MB / 478 MB, free: 11.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-05/0.5432, allocations: 4 kB / 478 MB, free: 11.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.008245/0.5515, allocations: 4.247 MB / 482.3 MB, free: 7.352 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.145e-05/0.5516, allocations: 15.94 kB / 482.3 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.971e-05/0.5516, allocations: 23.56 kB / 482.3 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00276/0.5544, allocations: 0.7714 MB / 483.1 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002487/0.5569, allocations: 0.5688 MB / 483.7 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/0.5684, allocations: 10.89 MB / 494.6 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003039/0.5715, allocations: 108 kB / 494.7 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005943/0.5721, allocations: 104 kB / 494.8 MB, free: 10.4 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.004014/0.5762, allocations: 1.613 MB / 496.4 MB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001257/0.5774, allocations: 316.2 kB / 496.7 MB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008323/0.5858, allocations: 3.916 MB / 0.4889 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.228e-05/0.5859, allocations: 20 kB / 0.4889 GB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.582e-05/0.5859, allocations: 14.62 kB / 0.4889 GB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.021e-05/0.5859, allocations: 11.95 kB / 0.4889 GB, free: 4.504 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02107/0.607, allocations: 8.561 MB / 0.4973 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.911e-05/0.6071, allocations: 4 kB / 0.4973 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/0.6088, allocations: 346.1 kB / 0.4976 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003431/0.6123, allocations: 0.9491 MB / 0.4985 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004392/0.6127, allocations: 59.97 kB / 0.4986 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01755/0.6303, allocations: 15.69 MB / 0.5139 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/0.6303, allocations: 7.984 kB / 0.5139 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/0.6411, allocations: 5.685 MB / 0.5195 GB, free: 4.355 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002297/0.6435, allocations: 0.6885 MB / 0.5201 GB, free: 3.645 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001312/0.6448, allocations: 55.98 kB / 0.5202 GB, free: 3.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002465/0.6473, allocations: 103.9 kB / 0.5203 GB, free: 3.488 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005924/0.6479, allocations: 193.3 kB / 0.5205 GB, free: 3.305 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002427/0.6482, allocations: 59.98 kB / 0.5205 GB, free: 3.246 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004761/0.6529, allocations: 2.062 MB / 0.5226 GB, free: 1.184 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.653, allocations: 0 / 0.5226 GB, free: 1.184 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005401/0.6584, allocations: 0.9454 MB / 0.5235 GB, free: 244 kB / 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.001152/0.6595, allocations: 277.2 kB / 0.5237 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01213/0.6717, allocations: 5.371 MB / 0.529 GB, free: 10.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/0.6717, allocations: 0 / 0.529 GB, free: 10.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005238/0.677, allocations: 2.638 MB / 0.5316 GB, free: 7.949 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006821/0.6838, allocations: 0.9042 MB / 0.5324 GB, free: 7.043 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1925/0.8764, allocations: 9.465 MB / 0.5417 GB, free: 160.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003743/0.8802, allocations: 3.329 MB / 0.5449 GB, free: 159.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/0.8814, allocations: 217.1 kB / 0.5451 GB, free: 159.5 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.8814, allocations: 2.938 kB / 0.5451 GB, free: 159.5 MB / 446.1 MB Notification: Performance of Templates: time 0.3519/1.233, allocations: 203.7 MB / 0.7441 GB, free: 124.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Transformer/AIMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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