Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001101/0.001101, allocations: 191.2 kB / 17.37 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 226.6 MB / 244.7 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007618/0.0007618, allocations: 100.1 kB / 296.8 MB, free: 6.691 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002886/0.0002888, allocations: 8 kB / 356.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2551, allocations: 51.29 MB / 408.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01333/0.2684, allocations: 12.55 MB / 420.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009038/0.2775, allocations: 4.312 MB / 424.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.2792, allocations: 71.75 kB / 425 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002145/0.2813, allocations: 0.7573 MB / 425.8 MB, free: 9.973 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002896/0.2842, allocations: 1.068 MB / 426.8 MB, free: 8.902 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.286, allocations: 0.6559 MB / 427.5 MB, free: 8.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004507/0.2905, allocations: 4.183 MB / 431.7 MB, free: 4.051 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003499/0.294, allocations: 2.656 MB / 434.3 MB, free: 1.328 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.2957, allocations: 1.3 MB / 435.6 MB, free: 24 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002389/0.2981, allocations: 1.614 MB / 437.2 MB, free: 14.4 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004308/0.2986, allocations: 208 kB / 437.4 MB, free: 14.2 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.3003, allocations: 435.7 kB / 437.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001389/0.3017, allocations: 0.7473 MB / 438.6 MB, free: 13.02 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003047/0.3048, allocations: 1.701 MB / 440.3 MB, free: 11.31 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007332/0.3121, allocations: 5.516 MB / 445.8 MB, free: 5.777 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3122, allocations: 0 / 445.8 MB, free: 5.777 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.584e-06/0.3122, allocations: 0 / 445.8 MB, free: 5.777 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001694/0.3124, allocations: 0 / 445.8 MB, free: 5.777 MB / 314.7 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.01312/0.3255, allocations: 3.732 MB / 449.6 MB, free: 1.977 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.3256, allocations: 11.97 kB / 449.6 MB, free: 1.965 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006873/0.3324, allocations: 0.828 MB / 450.4 MB, free: 1.133 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006473/0.339, allocations: 2.346 MB / 452.7 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003655/0.3394, allocations: 242.8 kB / 453 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001211/0.3406, allocations: 331.8 kB / 453.3 MB, free: 14.17 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01308/0.3537, allocations: 4.239 MB / 457.5 MB, free: 9.871 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001541/0.3539, allocations: 7.984 kB / 457.5 MB, free: 9.863 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007846/0.3547, allocations: 132 kB / 457.7 MB, free: 9.734 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002139/0.3549, allocations: 146.4 kB / 457.8 MB, free: 9.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/0.3656, allocations: 3.59 MB / 461.4 MB, free: 5.992 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03216/0.3978, allocations: 14.04 MB / 475.4 MB, free: 7.559 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008493/0.4063, allocations: 6.668 MB / 482.1 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003179/0.4095, allocations: 1.398 MB / 483.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007296/0.4169, allocations: 3.901 MB / 487.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.4169, allocations: 51.81 kB / 487.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=134): time 3.106e-06/0.417, allocations: 0 / 487.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=137): time 0.01296/0.4299, allocations: 5.921 MB / 493.4 MB, free: 4.398 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.43, allocations: 64.72 kB / 493.4 MB, free: 4.324 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002941/0.433, allocations: 1.785 MB / 495.2 MB, free: 2.539 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000112/0.4331, allocations: 49.7 kB / 495.3 MB, free: 2.484 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009695/0.4341, allocations: 1.45 MB / 496.7 MB, free: 1.016 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003878/0.4345, allocations: 473.1 kB / 497.2 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.4346, allocations: 36 kB / 497.2 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4348, allocations: 373.9 kB / 497.6 MB, free: 144 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/0.436, allocations: 0.6754 MB / 498.3 MB, free: 15.47 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.4376, allocations: 1.19 MB / 499.5 MB, free: 14.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002703/0.4403, allocations: 1.995 MB / 0.4897 GB, free: 11.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/0.4404, allocations: 4 kB / 0.4897 GB, free: 11.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.00412/0.4445, allocations: 2.539 MB / 0.4922 GB, free: 9.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.4445, allocations: 15.94 kB / 0.4922 GB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.489e-05/0.4446, allocations: 16 kB / 0.4922 GB, free: 9.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009691/0.4455, allocations: 364.3 kB / 0.4926 GB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.4469, allocations: 379.4 kB / 0.4929 GB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007012/0.454, allocations: 7.671 MB / 0.5004 GB, free: 284 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.4553, allocations: 83.8 kB / 0.5005 GB, free: 200 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/0.4555, allocations: 76 kB / 0.5006 GB, free: 124 kB / 378.7 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.1771/0.6326, allocations: 1.002 MB / 0.5015 GB, free: 88.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000605/0.6333, allocations: 197.2 kB / 0.5017 GB, free: 88.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00439/0.6377, allocations: 2.293 MB / 0.504 GB, free: 87.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.6377, allocations: 14.14 kB / 0.504 GB, free: 87.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-05/0.6377, allocations: 8.547 kB / 0.504 GB, free: 87.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.6378, allocations: 6.281 kB / 0.504 GB, free: 87.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007908/0.6457, allocations: 5.088 MB / 0.509 GB, free: 84.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.6457, allocations: 0.9062 kB / 0.509 GB, free: 84.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007138/0.6464, allocations: 180.3 kB / 0.5091 GB, free: 84.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/0.6477, allocations: 0.5276 MB / 0.5097 GB, free: 84.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.639e-05/0.6478, allocations: 39.8 kB / 0.5097 GB, free: 84.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009088/0.6569, allocations: 12.08 MB / 0.5215 GB, free: 74.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.657, allocations: 2.188 kB / 0.5215 GB, free: 74.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004492/0.6615, allocations: 3.225 MB / 0.5246 GB, free: 73.03 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008756/0.6624, allocations: 428 kB / 0.5251 GB, free: 72.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003933/0.6628, allocations: 39.7 kB / 0.5251 GB, free: 72.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009829/0.6638, allocations: 64.77 kB / 0.5252 GB, free: 72.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/0.664, allocations: 114.1 kB / 0.5253 GB, free: 72.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.498e-05/0.6641, allocations: 43.02 kB / 0.5253 GB, free: 72.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001922/0.6661, allocations: 1.221 MB / 0.5265 GB, free: 72.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.6661, allocations: 0 / 0.5265 GB, free: 72.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002237/0.6683, allocations: 0.5852 MB / 0.5271 GB, free: 72.16 MB / 378.7 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.0003789/0.6687, allocations: 177.2 kB / 0.5272 GB, free: 71.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003071/0.6718, allocations: 2.343 MB / 0.5295 GB, free: 69.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.6718, allocations: 0.5 kB / 0.5295 GB, free: 69.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001997/0.6738, allocations: 1.738 MB / 0.5312 GB, free: 67.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002712/0.6765, allocations: 0.5186 MB / 0.5317 GB, free: 67.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008668/0.6852, allocations: 7.037 MB / 0.5386 GB, free: 60.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001522/0.6868, allocations: 2.261 MB / 0.5408 GB, free: 57.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004724/0.6872, allocations: 143.4 kB / 0.5409 GB, free: 57.8 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.6873, allocations: 0 / 0.5409 GB, free: 57.8 MB / 378.7 MB Notification: Performance of Templates: time 0.109/0.7963, allocations: 128.7 MB / 0.6666 GB, free: 9.07 MB / 458.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches