Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008981/0.0008981, allocations: 178.6 kB / 17.04 MB, free: 5.109 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 223.3 MB / 241 MB, free: 10.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007775/0.0007775, allocations: 89.33 kB / 292.2 MB, free: 10.67 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002327/0.0002325, allocations: 7.938 kB / 351.8 MB, free: 15.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1869, allocations: 50.41 MB / 402.2 MB, free: 32.53 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01093/0.1979, allocations: 14.82 MB / 417 MB, free: 17.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008886/0.2068, allocations: 5.304 MB / 422.4 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002628/0.2095, allocations: 111.5 kB / 422.5 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002904/0.2124, allocations: 1.01 MB / 423.5 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004053/0.2165, allocations: 1.488 MB / 425 MB, free: 9.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001954/0.2185, allocations: 0.6968 MB / 425.7 MB, free: 9.035 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005524/0.224, allocations: 6.373 MB / 432 MB, free: 2.633 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004534/0.2285, allocations: 3.542 MB / 435.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003039/0.2316, allocations: 2.039 MB / 437.6 MB, free: 12.99 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003773/0.2354, allocations: 2.611 MB / 440.2 MB, free: 10.37 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001134/0.2365, allocations: 324 kB / 440.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/0.2388, allocations: 0.5505 MB / 441.1 MB, free: 9.5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001638/0.2404, allocations: 1.296 MB / 442.4 MB, free: 8.199 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001707/0.2421, allocations: 1.136 MB / 443.5 MB, free: 7.055 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007634/0.2498, allocations: 8.598 MB / 452.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2498, allocations: 0 / 452.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2498, allocations: 3.938 kB / 452.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002426/0.2501, allocations: 0 / 452.1 MB, free: 14.43 MB / 330.7 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.01245/0.2625, allocations: 5.539 MB / 457.7 MB, free: 8.805 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.2626, allocations: 12.03 kB / 457.7 MB, free: 8.793 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005158/0.2677, allocations: 1.059 MB / 458.7 MB, free: 7.727 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00664/0.2744, allocations: 3.412 MB / 462.1 MB, free: 4.238 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000309/0.2747, allocations: 369.7 kB / 462.5 MB, free: 3.875 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001059/0.2758, allocations: 479.9 kB / 463 MB, free: 3.406 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01182/0.2876, allocations: 6.857 MB / 469.8 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.741e-05/0.2877, allocations: 3.906 kB / 469.8 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004954/0.2882, allocations: 204 kB / 470 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002049/0.2884, allocations: 241.8 kB / 470.3 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00969/0.2981, allocations: 5.929 MB / 476.2 MB, free: 6.086 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03072/0.3288, allocations: 21.02 MB / 497.2 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009178/0.3381, allocations: 9.943 MB / 0.4953 GB, free: 5.656 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003909/0.342, allocations: 2.505 MB / 0.4977 GB, free: 3.145 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1747/0.5167, allocations: 6.525 MB / 0.5041 GB, free: 89.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.5168, allocations: 61.09 kB / 0.5041 GB, free: 89.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=219): time 4.027e-06/0.5168, allocations: 0 / 0.5041 GB, free: 89.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=226): time 0.01705/0.5339, allocations: 9.783 MB / 0.5137 GB, free: 84.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.5339, allocations: 76.12 kB / 0.5138 GB, free: 84.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004682/0.5386, allocations: 2.965 MB / 0.5167 GB, free: 83.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000162/0.5388, allocations: 61.52 kB / 0.5167 GB, free: 83.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001152/0.54, allocations: 2.16 MB / 0.5188 GB, free: 81.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004769/0.5404, allocations: 0.7602 MB / 0.5196 GB, free: 81.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.5406, allocations: 50.81 kB / 0.5196 GB, free: 81.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.5407, allocations: 410.8 kB / 0.52 GB, free: 80.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.5424, allocations: 1.293 MB / 0.5213 GB, free: 80.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00191/0.5443, allocations: 1.921 MB / 0.5232 GB, free: 79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002009/0.5464, allocations: 1.606 MB / 0.5247 GB, free: 77.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/0.5464, allocations: 8 kB / 0.5247 GB, free: 77.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.005706/0.5521, allocations: 4.244 MB / 0.5289 GB, free: 73.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.5521, allocations: 12.5 kB / 0.5289 GB, free: 73.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/0.5522, allocations: 16 kB / 0.5289 GB, free: 73.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002438/0.5546, allocations: 0.7694 MB / 0.5297 GB, free: 72.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/0.5566, allocations: 0.5695 MB / 0.5302 GB, free: 71.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007524/0.5641, allocations: 10.03 MB / 0.54 GB, free: 61.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002009/0.5661, allocations: 112.4 kB / 0.5401 GB, free: 61.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001921/0.5663, allocations: 108.7 kB / 0.5402 GB, free: 61.17 MB / 378.7 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.002358/0.5687, allocations: 1.606 MB / 0.5418 GB, free: 59.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006932/0.5694, allocations: 312.2 kB / 0.5421 GB, free: 59.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005441/0.5748, allocations: 3.934 MB / 0.5459 GB, free: 55.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.5749, allocations: 23.98 kB / 0.546 GB, free: 55.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.772e-05/0.5749, allocations: 12 kB / 0.546 GB, free: 55.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/0.5749, allocations: 11.86 kB / 0.546 GB, free: 55.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01211/0.587, allocations: 8.575 MB / 0.5543 GB, free: 46.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.5871, allocations: 3.938 kB / 0.5544 GB, free: 46.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/0.5884, allocations: 347.6 kB / 0.5547 GB, free: 46.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002736/0.5911, allocations: 0.9355 MB / 0.5556 GB, free: 45.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/0.5913, allocations: 63.97 kB / 0.5557 GB, free: 45.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/0.602, allocations: 14.4 MB / 0.5697 GB, free: 30.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.602, allocations: 0 / 0.5697 GB, free: 30.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007156/0.6092, allocations: 5.71 MB / 0.5753 GB, free: 24.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/0.6106, allocations: 0.6962 MB / 0.576 GB, free: 23.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006933/0.6113, allocations: 55.98 kB / 0.576 GB, free: 23.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/0.613, allocations: 115.9 kB / 0.5761 GB, free: 23.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003271/0.6133, allocations: 189.2 kB / 0.5763 GB, free: 23.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001426/0.6134, allocations: 63.98 kB / 0.5764 GB, free: 23.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003017/0.6165, allocations: 2.046 MB / 0.5784 GB, free: 21.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6165, allocations: 0 / 0.5784 GB, free: 21.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003126/0.6196, allocations: 0.9363 MB / 0.5793 GB, free: 20.1 MB / 378.7 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,(2,100.0%) 26,(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.0005024/0.6201, allocations: 233.5 kB / 0.5795 GB, free: 19.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005005/0.6251, allocations: 3.9 MB / 0.5833 GB, free: 15.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6252, allocations: 0 / 0.5833 GB, free: 15.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003059/0.6282, allocations: 2.646 MB / 0.5859 GB, free: 13.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004011/0.6322, allocations: 0.888 MB / 0.5868 GB, free: 12.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/0.6474, allocations: 11.16 MB / 0.5977 GB, free: 1.102 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003743/0.6511, allocations: 3.332 MB / 0.6009 GB, free: 13.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001149/0.6523, allocations: 211.4 kB / 0.6011 GB, free: 13.53 MB / 394.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6523, allocations: 0 / 0.6011 GB, free: 13.53 MB / 394.7 MB Notification: Performance of Templates: time 0.3584/1.011, allocations: 203.1 MB / 0.7995 GB, free: 14.32 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches