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.001038/0.001038, allocations: 118.8 kB / 17.79 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001248/0.001248, allocations: 198 kB / 18.73 MB, free: 4.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 67.88 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2732, allocations: 50.54 MB / 409.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01692/0.2901, allocations: 17.43 MB / 426.7 MB, free: 72 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009635/0.2998, allocations: 5.95 MB / 432.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.3013, allocations: 115.6 kB / 432.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002581/0.3039, allocations: 1.355 MB / 434.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00334/0.3073, allocations: 1.767 MB / 435.9 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001941/0.3092, allocations: 1.086 MB / 437 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005981/0.3152, allocations: 6.341 MB / 443.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005147/0.3204, allocations: 5.379 MB / 448.7 MB, free: 9.938 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004652/0.325, allocations: 2.953 MB / 451.6 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00478/0.3298, allocations: 3.468 MB / 455.1 MB, free: 3.504 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009703/0.3308, allocations: 0.7891 MB / 455.9 MB, free: 2.715 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/0.3327, allocations: 1.082 MB / 457 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001477/0.3342, allocations: 1.862 MB / 458.8 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003663/0.3379, allocations: 3.361 MB / 462.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01056/0.3485, allocations: 10.59 MB / 472.8 MB, free: 1.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.3485, allocations: 11.92 kB / 472.8 MB, free: 1.758 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3485, allocations: 0 / 472.8 MB, free: 1.758 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002104/0.3487, allocations: 4 kB / 472.8 MB, free: 1.754 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.01361/0.3623, allocations: 6.701 MB / 479.5 MB, free: 10.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3624, allocations: 8.031 kB / 479.5 MB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004689/0.3671, allocations: 1.114 MB / 480.6 MB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005453/0.3726, allocations: 3.722 MB / 484.4 MB, free: 6.039 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002317/0.3728, allocations: 365.7 kB / 484.7 MB, free: 5.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006548/0.3735, allocations: 476 kB / 485.2 MB, free: 5.215 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01038/0.3839, allocations: 6.877 MB / 492.1 MB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.78e-05/0.384, allocations: 3.953 kB / 492.1 MB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004212/0.3844, allocations: 204 kB / 492.3 MB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001936/0.3846, allocations: 241.8 kB / 492.5 MB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00896/0.3936, allocations: 5.945 MB / 498.4 MB, free: 7.859 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02908/0.4227, allocations: 20.78 MB / 0.507 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00899/0.4317, allocations: 9.967 MB / 0.5168 GB, free: 7.629 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003564/0.4353, allocations: 2.481 MB / 0.5192 GB, free: 5.141 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01009/0.4454, allocations: 6.728 MB / 0.5258 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.821e-05/0.4454, allocations: 64.55 kB / 0.5258 GB, free: 14.17 MB / 462.1 MB Notification: Performance of pre-optimization done (n=219): time 3.196e-06/0.4455, allocations: 4 kB / 0.5258 GB, free: 14.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=226): time 0.01619/0.4617, allocations: 9.745 MB / 0.5354 GB, free: 4.215 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.4617, allocations: 77.41 kB / 0.5354 GB, free: 4.125 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00402/0.4657, allocations: 3.014 MB / 0.5384 GB, free: 1.098 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001606/0.4659, allocations: 61.7 kB / 0.5384 GB, free: 1.031 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2239/0.6898, allocations: 2.225 MB / 0.5406 GB, free: 121.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009169/0.6908, allocations: 0.8008 MB / 0.5414 GB, free: 121 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008931/0.6917, allocations: 469.3 kB / 0.5418 GB, free: 120.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.341e-05/0.6917, allocations: 308 kB / 0.5421 GB, free: 120.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002129/0.6939, allocations: 1.292 MB / 0.5434 GB, free: 120.4 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002039/0.6959, allocations: 1.919 MB / 0.5453 GB, free: 119.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003481/0.6994, allocations: 3.337 MB / 0.5485 GB, free: 117.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.6994, allocations: 7.844 kB / 0.5485 GB, free: 117.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.005825/0.7053, allocations: 4.261 MB / 0.5527 GB, free: 115.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.7053, allocations: 16.34 kB / 0.5527 GB, free: 115.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/0.7053, allocations: 17.59 kB / 0.5527 GB, free: 115.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00218/0.7075, allocations: 0.7686 MB / 0.5535 GB, free: 115.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001956/0.7095, allocations: 0.5673 MB / 0.554 GB, free: 115.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008232/0.7177, allocations: 10.88 MB / 0.5647 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002348/0.7201, allocations: 113.4 kB / 0.5648 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002055/0.7203, allocations: 98.59 kB / 0.5649 GB, free: 106.7 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.0023/0.7226, allocations: 1.63 MB / 0.5664 GB, free: 105.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004874/0.7231, allocations: 333.6 kB / 0.5668 GB, free: 105.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00519/0.7283, allocations: 3.906 MB / 0.5706 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.7283, allocations: 24 kB / 0.5706 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.7284, allocations: 10.52 kB / 0.5706 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.7284, allocations: 15.95 kB / 0.5706 GB, free: 101.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01031/0.7387, allocations: 8.574 MB / 0.579 GB, free: 92.67 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.7387, allocations: 0 / 0.579 GB, free: 92.67 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/0.7401, allocations: 339.8 kB / 0.5793 GB, free: 92.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002583/0.7427, allocations: 0.9415 MB / 0.5802 GB, free: 91.38 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/0.7429, allocations: 67.16 kB / 0.5803 GB, free: 91.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01122/0.7541, allocations: 15.76 MB / 0.5957 GB, free: 74.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.7541, allocations: 4.094 kB / 0.5957 GB, free: 74.77 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006905/0.761, allocations: 5.719 MB / 0.6013 GB, free: 68.95 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/0.7622, allocations: 0.7058 MB / 0.602 GB, free: 68.23 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000359/0.7626, allocations: 51.98 kB / 0.602 GB, free: 68.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/0.7639, allocations: 111.9 kB / 0.6021 GB, free: 68.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003932/0.7643, allocations: 185.7 kB / 0.6023 GB, free: 67.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/0.7644, allocations: 63.98 kB / 0.6024 GB, free: 67.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002502/0.7669, allocations: 2.079 MB / 0.6044 GB, free: 65.74 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.767, allocations: 4 kB / 0.6044 GB, free: 65.74 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002599/0.7696, allocations: 0.9455 MB / 0.6053 GB, free: 64.8 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.0006113/0.7702, allocations: 265.9 kB / 0.6056 GB, free: 64.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004983/0.7752, allocations: 3.911 MB / 0.6094 GB, free: 60.58 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.7752, allocations: 8.125 kB / 0.6094 GB, free: 60.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003022/0.7782, allocations: 2.65 MB / 0.612 GB, free: 57.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003207/0.7814, allocations: 0.9277 MB / 0.6129 GB, free: 56.93 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/0.7934, allocations: 9.58 MB / 0.6223 GB, free: 47.32 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002264/0.7957, allocations: 3.434 MB / 0.6256 GB, free: 43.85 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002115/0.7978, allocations: 0.7606 MB / 0.6264 GB, free: 43.09 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005143/0.7983, allocations: 199.4 kB / 0.6265 GB, free: 42.89 MB / 462.1 MB Notification: Performance of SimCode: time 6.01e-07/0.7983, allocations: 0 / 0.6265 GB, free: 42.89 MB / 462.1 MB Notification: Performance of Templates: time 0.06632/0.8647, allocations: 49.24 MB / 0.6746 GB, free: 10.22 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