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.0009375/0.0009376, allocations: 95.88 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001111/0.001111, allocations: 206.5 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.7 MB / 247.5 MB, free: 9.496 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002867, allocations: 8 kB / 308.4 MB, free: 0.5742 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1092, allocations: 51.52 MB / 359.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.2342/0.3435, allocations: 16.46 MB / 376.4 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01357/0.3571, allocations: 5.806 MB / 382.2 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004169/0.3613, allocations: 108.6 kB / 382.3 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004966/0.3663, allocations: 1.178 MB / 383.5 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007998/0.3743, allocations: 1.611 MB / 385.1 MB, free: 8.016 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003485/0.3779, allocations: 0.9927 MB / 386.1 MB, free: 7.457 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01222/0.3901, allocations: 6.991 MB / 393.1 MB, free: 4.457 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01063/0.4008, allocations: 4.479 MB / 397.5 MB, free: 2.613 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007401/0.4082, allocations: 2.096 MB / 399.6 MB, free: 1.641 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005697/0.4139, allocations: 2.737 MB / 402.4 MB, free: 16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001617/0.4155, allocations: 331.2 kB / 402.7 MB, free: 15.99 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003851/0.4194, allocations: 0.6405 MB / 403.3 MB, free: 15.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002772/0.4222, allocations: 1.305 MB / 404.6 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008145/0.4304, allocations: 2.764 MB / 407.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01064/0.441, allocations: 8.635 MB / 416 MB, free: 3.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.441, allocations: 0 / 416 MB, free: 3.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4411, allocations: 0 / 416 MB, free: 3.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000371/0.4414, allocations: 0 / 416 MB, free: 3.5 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.01702/0.4585, allocations: 5.527 MB / 421.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.4585, allocations: 16.03 kB / 421.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006512/0.465, allocations: 1.092 MB / 422.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008655/0.4737, allocations: 3.535 MB / 426.2 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004397/0.4742, allocations: 369.6 kB / 426.6 MB, free: 8.867 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001615/0.4758, allocations: 491.8 kB / 427.1 MB, free: 8.387 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01812/0.4939, allocations: 6.889 MB / 433.9 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001957/0.4942, allocations: 4 kB / 433.9 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001203/0.4954, allocations: 192 kB / 434.1 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002799/0.4957, allocations: 241.8 kB / 434.4 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01317/0.5089, allocations: 5.961 MB / 440.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03802/0.5469, allocations: 21.13 MB / 461.5 MB, free: 5.434 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01171/0.5587, allocations: 9.975 MB / 471.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004369/0.5631, allocations: 2.505 MB / 473.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01268/0.5758, allocations: 6.762 MB / 480.7 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.925e-05/0.5759, allocations: 64.56 kB / 480.8 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=219): time 5.781e-06/0.5759, allocations: 0 / 480.8 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of matching and sorting (n=226): time 0.02153/0.5974, allocations: 9.776 MB / 490.5 MB, free: 6.922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.5975, allocations: 77.41 kB / 490.6 MB, free: 6.836 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006606/0.6041, allocations: 3.014 MB / 493.6 MB, free: 3.809 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000245/0.6044, allocations: 65.7 kB / 493.7 MB, free: 3.738 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001887/0.6063, allocations: 2.18 MB / 495.9 MB, free: 1.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008151/0.6071, allocations: 0.7508 MB / 496.6 MB, free: 0.7734 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000423/0.6076, allocations: 218.9 kB / 496.8 MB, free: 0.5547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.6077, allocations: 301.1 kB / 497.1 MB, free: 264 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002377/0.6101, allocations: 1.305 MB / 498.4 MB, free: 14.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002783/0.6129, allocations: 1.924 MB / 0.4886 GB, free: 12.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005312/0.6182, allocations: 3.375 MB / 0.4919 GB, free: 9.133 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.253e-05/0.6182, allocations: 4 kB / 0.4919 GB, free: 9.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.008243/0.6265, allocations: 4.268 MB / 0.4961 GB, free: 4.816 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.842e-05/0.6265, allocations: 16.06 kB / 0.4961 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.625e-05/0.6266, allocations: 20 kB / 0.4961 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002867/0.6295, allocations: 0.7708 MB / 0.4969 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002319/0.6318, allocations: 0.5655 MB / 0.4974 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/0.643, allocations: 10.06 MB / 0.5073 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/0.6454, allocations: 119.8 kB / 0.5074 GB, free: 8.734 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000317/0.6457, allocations: 100 kB / 0.5075 GB, free: 8.637 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.003233/0.649, allocations: 1.613 MB / 0.509 GB, free: 7.012 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008901/0.6499, allocations: 320.2 kB / 0.5094 GB, free: 6.695 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007585/0.6574, allocations: 3.93 MB / 0.5132 GB, free: 2.691 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/0.6575, allocations: 20 kB / 0.5132 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.424e-05/0.6575, allocations: 12 kB / 0.5132 GB, free: 2.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.352e-05/0.6576, allocations: 11.95 kB / 0.5132 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01831/0.6759, allocations: 8.605 MB / 0.5216 GB, free: 9.891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.6759, allocations: 0 / 0.5216 GB, free: 9.891 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00169/0.6776, allocations: 347.8 kB / 0.522 GB, free: 9.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003466/0.6811, allocations: 0.9417 MB / 0.5229 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002193/0.6814, allocations: 60.17 kB / 0.5229 GB, free: 8.535 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2435/0.9249, allocations: 14.47 MB / 0.5371 GB, free: 133.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.9249, allocations: 2.312 kB / 0.5371 GB, free: 133.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/0.9353, allocations: 5.733 MB / 0.5427 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001861/0.9371, allocations: 0.6901 MB / 0.5433 GB, free: 131.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008256/0.938, allocations: 56.41 kB / 0.5434 GB, free: 131.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001932/0.9399, allocations: 122 kB / 0.5435 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005704/0.9405, allocations: 188.2 kB / 0.5437 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001961/0.9407, allocations: 60.33 kB / 0.5438 GB, free: 131.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004449/0.9452, allocations: 2.079 MB / 0.5458 GB, free: 130.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.062e-06/0.9452, allocations: 0 / 0.5458 GB, free: 130.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004139/0.9493, allocations: 0.9497 MB / 0.5467 GB, free: 130.2 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.000839/0.9502, allocations: 278 kB / 0.547 GB, free: 130.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006762/0.957, allocations: 3.926 MB / 0.5508 GB, free: 128.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.957, allocations: 1.562 kB / 0.5508 GB, free: 128.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003851/0.9609, allocations: 2.65 MB / 0.5534 GB, free: 126.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004886/0.9658, allocations: 0.8774 MB / 0.5543 GB, free: 126.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01496/0.9807, allocations: 11.72 MB / 0.5657 GB, free: 120.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002592/0.9834, allocations: 3.344 MB / 0.569 GB, free: 118.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009395/0.9843, allocations: 210.9 kB / 0.5692 GB, free: 118.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.051e-06/0.9843, allocations: 0 / 0.5692 GB, free: 118.7 MB / 446.1 MB Notification: Performance of Templates: time 0.4337/1.418, allocations: 204.2 MB / 0.7686 GB, free: 96.93 MB / 462.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/jenkins1/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/jenkins1/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