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.00157/0.00157, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001976/0.001977, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 55.91 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2698, allocations: 50.54 MB / 409.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01865/0.2885, allocations: 17.43 MB / 426.7 MB, free: 72 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01188/0.3004, allocations: 5.946 MB / 432.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003167/0.3036, allocations: 119.5 kB / 432.8 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004023/0.3076, allocations: 1.411 MB / 434.2 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00597/0.3137, allocations: 1.817 MB / 436 MB, free: 6.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00303/0.3167, allocations: 1.086 MB / 437.1 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008224/0.325, allocations: 6.334 MB / 443.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007381/0.3324, allocations: 5.387 MB / 448.8 MB, free: 9.824 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005288/0.3377, allocations: 2.979 MB / 451.8 MB, free: 6.852 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005943/0.3436, allocations: 3.464 MB / 455.2 MB, free: 3.375 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002251/0.3459, allocations: 0.7891 MB / 456 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003499/0.3494, allocations: 1.085 MB / 457.1 MB, free: 1.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002742/0.3522, allocations: 1.858 MB / 459 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005134/0.3573, allocations: 3.365 MB / 462.3 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01123/0.3685, allocations: 10.56 MB / 472.9 MB, free: 1.664 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3686, allocations: 0 / 472.9 MB, free: 1.664 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3686, allocations: 4 kB / 472.9 MB, free: 1.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002896/0.3689, allocations: 0 / 472.9 MB, free: 1.66 MB / 382.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.01869/0.3876, allocations: 6.557 MB / 479.5 MB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.3877, allocations: 15.95 kB / 479.5 MB, free: 11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005252/0.3929, allocations: 1.079 MB / 480.6 MB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008212/0.4011, allocations: 3.688 MB / 484.2 MB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000282/0.4015, allocations: 365.7 kB / 484.6 MB, free: 5.789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00094/0.4024, allocations: 483.9 kB / 485.1 MB, free: 5.316 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0132/0.4156, allocations: 6.877 MB / 492 MB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001022/0.4157, allocations: 7.844 kB / 492 MB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00045/0.4162, allocations: 204 kB / 492.2 MB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002015/0.4164, allocations: 237.8 kB / 492.4 MB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0103/0.4267, allocations: 5.937 MB / 498.3 MB, free: 7.969 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03287/0.4596, allocations: 20.72 MB / 0.5069 GB, free: 2.785 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009009/0.4687, allocations: 9.987 MB / 0.5166 GB, free: 7.762 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003648/0.4723, allocations: 2.466 MB / 0.5191 GB, free: 5.293 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01103/0.4834, allocations: 6.723 MB / 0.5256 GB, free: 14.4 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/0.4835, allocations: 60.56 kB / 0.5257 GB, free: 14.33 MB / 462.1 MB Notification: Performance of pre-optimization done (n=219): time 3.437e-06/0.4835, allocations: 0 / 0.5257 GB, free: 14.33 MB / 462.1 MB Notification: Performance of matching and sorting (n=226): time 0.01853/0.502, allocations: 9.671 MB / 0.5351 GB, free: 4.449 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.5021, allocations: 81.41 kB / 0.5352 GB, free: 4.355 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004344/0.5064, allocations: 3.014 MB / 0.5381 GB, free: 1.328 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001829/0.5066, allocations: 69.7 kB / 0.5382 GB, free: 1.254 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2273/0.734, allocations: 2.162 MB / 0.5403 GB, free: 121.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009174/0.7349, allocations: 0.7608 MB / 0.5411 GB, free: 121.1 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009642/0.7359, allocations: 466.8 kB / 0.5415 GB, free: 121 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.461e-05/0.7359, allocations: 309 kB / 0.5418 GB, free: 120.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002178/0.7381, allocations: 1.292 MB / 0.5431 GB, free: 120.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002063/0.7402, allocations: 1.92 MB / 0.5449 GB, free: 119.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003485/0.7437, allocations: 3.344 MB / 0.5482 GB, free: 117.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.7437, allocations: 7.906 kB / 0.5482 GB, free: 117.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.005891/0.7496, allocations: 4.242 MB / 0.5524 GB, free: 115.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.7497, allocations: 15.72 kB / 0.5524 GB, free: 115.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-05/0.7497, allocations: 15.75 kB / 0.5524 GB, free: 115.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002205/0.7519, allocations: 0.7707 MB / 0.5531 GB, free: 115.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/0.754, allocations: 0.5628 MB / 0.5537 GB, free: 115.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008217/0.7622, allocations: 10.88 MB / 0.5643 GB, free: 107 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/0.7642, allocations: 110.5 kB / 0.5644 GB, free: 106.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/0.7644, allocations: 106.8 kB / 0.5645 GB, free: 106.9 MB / 462.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.002163/0.7666, allocations: 1.622 MB / 0.5661 GB, free: 105.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000466/0.7671, allocations: 312.2 kB / 0.5664 GB, free: 105.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005281/0.7723, allocations: 3.91 MB / 0.5702 GB, free: 101.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.7724, allocations: 24 kB / 0.5702 GB, free: 101.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.7724, allocations: 8 kB / 0.5702 GB, free: 101.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.7724, allocations: 15.95 kB / 0.5703 GB, free: 101.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/0.7828, allocations: 8.567 MB / 0.5786 GB, free: 92.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.7828, allocations: 0 / 0.5786 GB, free: 92.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/0.7842, allocations: 343.8 kB / 0.579 GB, free: 92.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002631/0.7869, allocations: 0.944 MB / 0.5799 GB, free: 91.63 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/0.787, allocations: 59.97 kB / 0.5799 GB, free: 91.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01131/0.7984, allocations: 15.75 MB / 0.5953 GB, free: 75.05 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7984, allocations: 4 kB / 0.5953 GB, free: 75.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007029/0.8054, allocations: 5.695 MB / 0.6009 GB, free: 69.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001343/0.8068, allocations: 0.6886 MB / 0.6016 GB, free: 68.54 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006385/0.8074, allocations: 56.17 kB / 0.6016 GB, free: 68.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/0.809, allocations: 111.9 kB / 0.6017 GB, free: 68.38 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004199/0.8095, allocations: 197.6 kB / 0.6019 GB, free: 68.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000149/0.8096, allocations: 59.98 kB / 0.602 GB, free: 68.12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003211/0.8129, allocations: 2.079 MB / 0.604 GB, free: 66.05 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8129, allocations: 0 / 0.604 GB, free: 66.05 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003292/0.8162, allocations: 0.9536 MB / 0.6049 GB, free: 65.1 MB / 462.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.0006394/0.8168, allocations: 253.3 kB / 0.6052 GB, free: 64.86 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005037/0.8219, allocations: 3.905 MB / 0.609 GB, free: 60.89 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.8219, allocations: 7.938 kB / 0.609 GB, free: 60.88 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003168/0.8251, allocations: 2.651 MB / 0.6116 GB, free: 58.15 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003543/0.8286, allocations: 0.9238 MB / 0.6125 GB, free: 57.24 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/0.8422, allocations: 9.42 MB / 0.6217 GB, free: 47.79 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003099/0.8453, allocations: 3.438 MB / 0.625 GB, free: 44.31 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002137/0.8474, allocations: 0.7645 MB / 0.6258 GB, free: 43.54 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006164/0.8481, allocations: 199.4 kB / 0.626 GB, free: 43.35 MB / 462.1 MB Notification: Performance of SimCode: time 8.01e-07/0.8481, allocations: 0 / 0.626 GB, free: 43.35 MB / 462.1 MB Notification: Performance of Templates: time 0.06672/0.9148, allocations: 49.24 MB / 0.6741 GB, free: 10.68 MB / 478.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