Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008416/0.0008416, allocations: 102.7 kB / 17.01 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009305/0.0009306, allocations: 198.4 kB / 17.91 MB, free: 6.059 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: 9.812 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000206/0.0002061, allocations: 8 kB / 307.1 MB, free: 0.9609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08627/0.08649, allocations: 51.53 MB / 358.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01384/0.1004, allocations: 12.55 MB / 371.2 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1774/0.2778, allocations: 4.315 MB / 375.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.2795, allocations: 78.22 kB / 375.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00208/0.2816, allocations: 0.7581 MB / 376.3 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00305/0.2846, allocations: 1.052 MB / 377.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.2863, allocations: 0.6617 MB / 378.1 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004888/0.2912, allocations: 4.132 MB / 382.2 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002711/0.294, allocations: 2.206 MB / 384.4 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002146/0.2961, allocations: 1.304 MB / 385.7 MB, free: 7.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002657/0.2988, allocations: 1.618 MB / 387.3 MB, free: 7.473 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000445/0.2993, allocations: 208 kB / 387.5 MB, free: 7.473 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.3006, allocations: 424.4 kB / 387.9 MB, free: 7.453 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006496/0.3013, allocations: 0.7433 MB / 388.7 MB, free: 7.203 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007761/0.3021, allocations: 0.7467 MB / 389.4 MB, free: 6.742 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004459/0.3065, allocations: 5.519 MB / 394.9 MB, free: 3.215 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3065, allocations: 0 / 394.9 MB, free: 3.215 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3066, allocations: 0 / 394.9 MB, free: 3.215 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001485/0.3067, allocations: 1.375 kB / 394.9 MB, free: 3.215 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.0144/0.3211, allocations: 3.772 MB / 398.7 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.3212, allocations: 12.25 kB / 398.7 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006766/0.328, allocations: 0.841 MB / 399.6 MB, free: 392 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006092/0.3341, allocations: 2.282 MB / 401.8 MB, free: 14.74 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002701/0.3344, allocations: 249.7 kB / 402.1 MB, free: 14.63 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008396/0.3352, allocations: 317.2 kB / 402.4 MB, free: 14.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01151/0.3468, allocations: 4.244 MB / 406.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.337e-05/0.3469, allocations: 7.984 kB / 406.7 MB, free: 10.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003956/0.3473, allocations: 138.1 kB / 406.8 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001407/0.3474, allocations: 146.4 kB / 406.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006763/0.3542, allocations: 3.592 MB / 410.5 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02285/0.3771, allocations: 14.03 MB / 424.5 MB, free: 8.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00648/0.3836, allocations: 6.655 MB / 431.2 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002332/0.386, allocations: 1.404 MB / 432.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006326/0.3923, allocations: 3.903 MB / 436.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.3924, allocations: 43.88 kB / 436.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=134): time 3.025e-06/0.3924, allocations: 4 kB / 436.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=137): time 0.01184/0.4042, allocations: 5.95 MB / 442.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.4043, allocations: 68.72 kB / 442.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002826/0.4072, allocations: 1.79 MB / 444.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.4073, allocations: 49.7 kB / 444.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001028/0.4083, allocations: 1.451 MB / 445.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003825/0.4087, allocations: 480.1 kB / 446.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.381e-05/0.4088, allocations: 36 kB / 446.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.409, allocations: 373.9 kB / 446.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.4101, allocations: 0.6715 MB / 447.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.4116, allocations: 1.195 MB / 448.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.413, allocations: 0.9105 MB / 449.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.413, allocations: 4 kB / 449.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004094/0.4171, allocations: 2.53 MB / 452 MB, free: 11.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.4172, allocations: 12 kB / 452.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.721e-05/0.4172, allocations: 20.33 kB / 452.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009248/0.4181, allocations: 364.1 kB / 452.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.4195, allocations: 379.4 kB / 452.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007243/0.4268, allocations: 7.67 MB / 460.5 MB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.4282, allocations: 75.95 kB / 460.5 MB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/0.4283, allocations: 80.09 kB / 460.6 MB, free: 2.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * 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 {(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00185/0.4302, allocations: 1.005 MB / 461.6 MB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003869/0.4306, allocations: 197.6 kB / 461.8 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004169/0.4348, allocations: 2.296 MB / 464.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.699e-05/0.4348, allocations: 12 kB / 464.1 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.957e-05/0.4348, allocations: 8 kB / 464.1 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/0.4348, allocations: 7.969 kB / 464.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008774/0.4436, allocations: 5.087 MB / 469.2 MB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.4436, allocations: 0 / 469.2 MB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007911/0.4444, allocations: 183.7 kB / 469.4 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/0.4458, allocations: 0.5391 MB / 470 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.4459, allocations: 35.98 kB / 470 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/0.4575, allocations: 12.07 MB / 482.1 MB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4575, allocations: 8.125 kB / 482.1 MB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00487/0.4624, allocations: 3.225 MB / 485.3 MB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009199/0.4633, allocations: 426.6 kB / 485.7 MB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004554/0.4638, allocations: 39.98 kB / 485.8 MB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.4648, allocations: 67.95 kB / 485.8 MB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002107/0.465, allocations: 109.2 kB / 485.9 MB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.215e-05/0.4651, allocations: 36.08 kB / 486 MB, free: 8.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002026/0.4672, allocations: 1.224 MB / 487.2 MB, free: 6.949 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4672, allocations: 0 / 487.2 MB, free: 6.949 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002365/0.4696, allocations: 0.5899 MB / 487.8 MB, free: 6.359 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * 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%) 7,(2,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003384/0.4699, allocations: 171.4 kB / 487.9 MB, free: 6.188 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003499/0.4734, allocations: 2.355 MB / 490.3 MB, free: 3.762 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4734, allocations: 0 / 490.3 MB, free: 3.762 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002359/0.4758, allocations: 1.727 MB / 492 MB, free: 1.965 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/0.4783, allocations: 0.5245 MB / 492.5 MB, free: 1.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.4888, allocations: 7.074 MB / 499.6 MB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002354/0.4912, allocations: 2.315 MB / 0.4902 GB, free: 7.984 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001469/0.4927, allocations: 405.1 kB / 0.4906 GB, free: 7.586 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003525/0.493, allocations: 123.4 kB / 0.4907 GB, free: 7.465 MB / 414.1 MB Notification: Performance of SimCode: time 1.162e-06/0.493, allocations: 4 kB / 0.4907 GB, free: 7.461 MB / 414.1 MB Notification: Performance of Templates: time 0.04836/0.5414, allocations: 27.91 MB / 0.5179 GB, free: 11.88 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches