Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000746/0.0007461, allocations: 97.28 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008688/0.0008688, allocations: 205.3 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002322/0.0002322, allocations: 4 kB / 307.8 MB, free: 0.8008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09534/0.09559, allocations: 51.53 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.1968/0.2924, allocations: 16.45 MB / 375.7 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01093/0.3034, allocations: 5.8 MB / 381.5 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004217/0.3077, allocations: 104.1 kB / 381.6 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005293/0.313, allocations: 1.181 MB / 382.8 MB, free: 8.766 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007811/0.3208, allocations: 1.607 MB / 384.4 MB, free: 8.074 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004224/0.3251, allocations: 0.9944 MB / 385.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01128/0.3364, allocations: 6.993 MB / 392.4 MB, free: 4.512 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007383/0.3438, allocations: 4.484 MB / 396.9 MB, free: 2.668 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006756/0.3506, allocations: 2.089 MB / 399 MB, free: 1.672 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005964/0.3566, allocations: 2.742 MB / 401.7 MB, free: 24 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001548/0.3581, allocations: 324.8 kB / 402 MB, free: 24 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003342/0.3615, allocations: 0.637 MB / 402.7 MB, free: 15.87 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001671/0.3632, allocations: 1.304 MB / 404 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004428/0.3676, allocations: 2.765 MB / 406.8 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01015/0.3778, allocations: 9.887 MB / 416.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3778, allocations: 0 / 416.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.779e-06/0.3779, allocations: 4 kB / 416.6 MB, free: 2.109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002911/0.3782, allocations: 3.938 kB / 416.7 MB, free: 2.105 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.01618/0.3943, allocations: 5.524 MB / 422.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.3944, allocations: 8.031 kB / 422.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006658/0.4011, allocations: 1.1 MB / 423.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008363/0.4095, allocations: 3.532 MB / 426.8 MB, free: 7.855 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004098/0.4099, allocations: 368.8 kB / 427.2 MB, free: 7.496 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001411/0.4113, allocations: 490.3 kB / 427.7 MB, free: 7.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02225/0.4336, allocations: 6.89 MB / 434.5 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001555/0.4338, allocations: 4 kB / 434.5 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008649/0.4347, allocations: 198 kB / 434.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003542/0.435, allocations: 241.7 kB / 435 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01978/0.4548, allocations: 5.965 MB / 440.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05379/0.5086, allocations: 21.11 MB / 462.1 MB, free: 4.254 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01046/0.5192, allocations: 9.993 MB / 472 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004302/0.5235, allocations: 2.489 MB / 474.5 MB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01205/0.5356, allocations: 6.777 MB / 481.3 MB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/0.5357, allocations: 56.56 kB / 481.4 MB, free: 15.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=219): time 5.03e-06/0.5357, allocations: 4 kB / 481.4 MB, free: 15.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=226): time 0.01928/0.555, allocations: 9.779 MB / 491.2 MB, free: 5.738 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.555, allocations: 81.34 kB / 491.2 MB, free: 5.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005425/0.5605, allocations: 3.006 MB / 494.2 MB, free: 2.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002748/0.5608, allocations: 65.7 kB / 494.3 MB, free: 2.559 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001642/0.5624, allocations: 2.172 MB / 496.5 MB, free: 372 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007977/0.5632, allocations: 0.7586 MB / 497.2 MB, free: 15.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004107/0.5637, allocations: 214.9 kB / 497.4 MB, free: 15.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.449e-05/0.5638, allocations: 305.1 kB / 497.7 MB, free: 15.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002318/0.5661, allocations: 1.305 MB / 499 MB, free: 13.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002734/0.5688, allocations: 1.928 MB / 0.4892 GB, free: 11.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005035/0.5739, allocations: 3.367 MB / 0.4925 GB, free: 7.961 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.727e-05/0.5739, allocations: 8 kB / 0.4925 GB, free: 7.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.007548/0.5815, allocations: 4.272 MB / 0.4967 GB, free: 3.637 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.5815, allocations: 15.98 kB / 0.4967 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.969e-05/0.5816, allocations: 16 kB / 0.4967 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002619/0.5842, allocations: 0.7747 MB / 0.4975 GB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002251/0.5865, allocations: 0.5617 MB / 0.498 GB, free: 2.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01042/0.5969, allocations: 10.05 MB / 0.5079 GB, free: 7.672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002213/0.5991, allocations: 115.8 kB / 0.508 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000329/0.5995, allocations: 100 kB / 0.5081 GB, free: 7.461 MB / 430.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.003155/0.6026, allocations: 1.617 MB / 0.5096 GB, free: 5.832 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009402/0.6036, allocations: 316.2 kB / 0.5099 GB, free: 5.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007237/0.6108, allocations: 3.937 MB / 0.5138 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/0.6109, allocations: 20 kB / 0.5138 GB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.2e-05/0.6109, allocations: 12 kB / 0.5138 GB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.267e-05/0.611, allocations: 15.95 kB / 0.5138 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01648/0.6274, allocations: 8.598 MB / 0.5222 GB, free: 8.715 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/0.6275, allocations: 4 kB / 0.5222 GB, free: 8.711 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/0.6291, allocations: 343.8 kB / 0.5226 GB, free: 8.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003301/0.6324, allocations: 0.9491 MB / 0.5235 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003075/0.6327, allocations: 55.98 kB / 0.5235 GB, free: 7.355 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.19/0.8227, allocations: 14.46 MB / 0.5377 GB, free: 132.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.8227, allocations: 11 kB / 0.5377 GB, free: 132.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009632/0.8323, allocations: 5.733 MB / 0.5433 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00177/0.8341, allocations: 0.6894 MB / 0.5439 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001024/0.8352, allocations: 50.17 kB / 0.544 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002051/0.8372, allocations: 121.5 kB / 0.5441 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005631/0.8378, allocations: 194.6 kB / 0.5443 GB, free: 130.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001795/0.838, allocations: 63.34 kB / 0.5444 GB, free: 130.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004363/0.8424, allocations: 2.079 MB / 0.5464 GB, free: 129.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.8424, allocations: 1.688 kB / 0.5464 GB, free: 129.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003851/0.8463, allocations: 0.9456 MB / 0.5473 GB, free: 129.4 MB / 446.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%), (3,25,88.9%), (1,1,100.0%), (1,8,100.0%), (1,13,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.0007368/0.847, allocations: 272.8 kB / 0.5476 GB, free: 129.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006409/0.8534, allocations: 3.921 MB / 0.5514 GB, free: 127.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.8535, allocations: 5.484 kB / 0.5514 GB, free: 127.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003838/0.8573, allocations: 2.657 MB / 0.554 GB, free: 126 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00527/0.8626, allocations: 0.8726 MB / 0.5548 GB, free: 125.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01714/0.8797, allocations: 11.77 MB / 0.5663 GB, free: 119.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004339/0.8841, allocations: 3.435 MB / 0.5697 GB, free: 117.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002968/0.8871, allocations: 0.7667 MB / 0.5704 GB, free: 117.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000828/0.888, allocations: 199.8 kB / 0.5706 GB, free: 117.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.442e-06/0.888, allocations: 0 / 0.5706 GB, free: 117.7 MB / 446.1 MB Notification: Performance of Templates: time 0.0698/0.9578, allocations: 48.82 MB / 0.6183 GB, free: 70.38 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches