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.001068/0.001068, allocations: 101.6 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001575/0.001575, allocations: 191.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.7 MB / 246.4 MB, free: 11.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002286/0.0002289, allocations: 8 kB / 307.1 MB, free: 1.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09557/0.09581, allocations: 51.52 MB / 358.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.1828/0.2787, allocations: 15.37 MB / 374 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.289, allocations: 5.533 MB / 379.5 MB, free: 9.215 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003002/0.292, allocations: 104.9 kB / 379.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002887/0.2949, allocations: 1.025 MB / 380.7 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004607/0.2995, allocations: 1.472 MB / 382.1 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.3015, allocations: 0.7402 MB / 382.9 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008309/0.3099, allocations: 6.459 MB / 389.3 MB, free: 6.262 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004459/0.3143, allocations: 3.555 MB / 392.9 MB, free: 4.969 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003467/0.3178, allocations: 2.049 MB / 395 MB, free: 4.086 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003765/0.3216, allocations: 2.625 MB / 397.6 MB, free: 2.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005928/0.3222, allocations: 326.8 kB / 397.9 MB, free: 2.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.3239, allocations: 0.5784 MB / 398.5 MB, free: 2.449 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008763/0.3248, allocations: 1.297 MB / 399.8 MB, free: 1.531 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.326, allocations: 1.138 MB / 400.9 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007976/0.3339, allocations: 8.63 MB / 409.5 MB, free: 9.062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.334, allocations: 0 / 409.5 MB, free: 9.062 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.334, allocations: 0 / 409.5 MB, free: 9.062 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002372/0.3342, allocations: 0 / 409.5 MB, free: 9.062 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.01288/0.3471, allocations: 5.574 MB / 415.1 MB, free: 3.473 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.3472, allocations: 12.03 kB / 415.1 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006026/0.3532, allocations: 1.097 MB / 416.2 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00606/0.3593, allocations: 3.441 MB / 419.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002572/0.3596, allocations: 376.3 kB / 420 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007519/0.3603, allocations: 482.6 kB / 420.5 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01167/0.372, allocations: 6.848 MB / 427.4 MB, free: 7.156 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.484e-05/0.3721, allocations: 7.906 kB / 427.4 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004341/0.3726, allocations: 198.7 kB / 427.6 MB, free: 6.957 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000211/0.3728, allocations: 241.8 kB / 427.8 MB, free: 6.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009888/0.3827, allocations: 5.929 MB / 433.7 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03064/0.4133, allocations: 21.11 MB / 454.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008601/0.422, allocations: 9.963 MB / 464.8 MB, free: 300 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003661/0.4257, allocations: 2.497 MB / 467.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01069/0.4364, allocations: 6.759 MB / 474 MB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.4365, allocations: 64.44 kB / 474.1 MB, free: 6.789 MB / 382.1 MB Notification: Performance of pre-optimization done (n=219): time 5.55e-06/0.4365, allocations: 7.984 kB / 474.1 MB, free: 6.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=226): time 0.01887/0.4554, allocations: 9.789 MB / 483.9 MB, free: 12.78 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.4555, allocations: 77.36 kB / 484 MB, free: 12.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005193/0.4607, allocations: 2.998 MB / 487 MB, free: 9.684 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001911/0.4609, allocations: 61.7 kB / 487 MB, free: 9.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001516/0.4624, allocations: 2.168 MB / 489.2 MB, free: 7.426 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006192/0.463, allocations: 0.7702 MB / 490 MB, free: 6.645 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.4632, allocations: 48 kB / 490 MB, free: 6.598 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.4633, allocations: 411.2 kB / 490.4 MB, free: 6.191 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/0.4654, allocations: 1.289 MB / 491.7 MB, free: 4.898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002372/0.4678, allocations: 1.916 MB / 493.6 MB, free: 2.719 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00242/0.4702, allocations: 1.603 MB / 495.2 MB, free: 1.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/0.4702, allocations: 4 kB / 495.2 MB, free: 1.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.006899/0.4771, allocations: 4.245 MB / 499.5 MB, free: 12.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.4772, allocations: 20.05 kB / 499.5 MB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.941e-05/0.4772, allocations: 16 kB / 499.5 MB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002533/0.4797, allocations: 0.767 MB / 0.4886 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/0.482, allocations: 0.5694 MB / 0.4891 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/0.4923, allocations: 10.03 MB / 0.4989 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/0.4946, allocations: 115.8 kB / 0.499 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000263/0.4949, allocations: 104 kB / 0.4991 GB, free: 0.6602 MB / 414.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 (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.003098/0.498, allocations: 1.617 MB / 0.5007 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008286/0.4989, allocations: 324.2 kB / 0.501 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006959/0.5058, allocations: 3.918 MB / 0.5048 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/0.5059, allocations: 20 kB / 0.5049 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.682e-05/0.5059, allocations: 12 kB / 0.5049 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.136e-05/0.5059, allocations: 11.95 kB / 0.5049 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/0.5209, allocations: 8.571 MB / 0.5132 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/0.5209, allocations: 7.938 kB / 0.5133 GB, free: 1.957 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001551/0.5225, allocations: 347.8 kB / 0.5136 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00299/0.5255, allocations: 0.9456 MB / 0.5145 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001886/0.5257, allocations: 55.98 kB / 0.5146 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01508/0.5408, allocations: 14.46 MB / 0.5287 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.5408, allocations: 96 / 0.5287 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1921/0.7329, allocations: 5.703 MB / 0.5343 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001592/0.7345, allocations: 0.6883 MB / 0.5349 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000439/0.735, allocations: 54.23 kB / 0.535 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/0.7363, allocations: 121.4 kB / 0.5351 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004286/0.7367, allocations: 194.9 kB / 0.5353 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001421/0.7369, allocations: 61.92 kB / 0.5353 GB, free: 135.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003222/0.7401, allocations: 2.055 MB / 0.5373 GB, free: 135.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.02e-07/0.7401, allocations: 0 / 0.5373 GB, free: 135.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002921/0.7431, allocations: 0.9485 MB / 0.5383 GB, free: 135 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 (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,(3,88.9%) 25,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005254/0.7436, allocations: 240.3 kB / 0.5385 GB, free: 134.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005565/0.7492, allocations: 3.911 MB / 0.5423 GB, free: 133.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.7492, allocations: 2.031 kB / 0.5423 GB, free: 133.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00357/0.7528, allocations: 2.646 MB / 0.5449 GB, free: 131.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003636/0.7564, allocations: 0.8959 MB / 0.5458 GB, free: 131.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/0.7698, allocations: 11.24 MB / 0.5568 GB, free: 125.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002592/0.7724, allocations: 3.438 MB / 0.5601 GB, free: 124 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002342/0.7747, allocations: 0.765 MB / 0.5609 GB, free: 123.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004969/0.7752, allocations: 196.4 kB / 0.561 GB, free: 123.8 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.7752, allocations: 0 / 0.561 GB, free: 123.8 MB / 446.1 MB Notification: Performance of Templates: time 0.06495/0.8402, allocations: 47.64 MB / 0.6076 GB, free: 81.28 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