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.001647/0.001647, allocations: 113.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001936/0.001936, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.521/2.521, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 63.88 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.476/0.4783, allocations: 50.54 MB / 410 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.02965/0.508, allocations: 14.26 MB / 424.2 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01913/0.5273, allocations: 4.68 MB / 428.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00387/0.5312, allocations: 79.75 kB / 429 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005748/0.537, allocations: 1.017 MB / 430 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008378/0.5455, allocations: 1.293 MB / 431.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009128/0.5547, allocations: 0.9455 MB / 432.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009948/0.5647, allocations: 4.121 MB / 436.3 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007637/0.5724, allocations: 3.233 MB / 439.6 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009602/0.5821, allocations: 1.916 MB / 441.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006842/0.589, allocations: 2.211 MB / 443.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002155/0.5912, allocations: 0.5117 MB / 444.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003711/0.595, allocations: 0.7341 MB / 445 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002677/0.5977, allocations: 1.122 MB / 446.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005562/0.6073, allocations: 2.139 MB / 448.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01465/0.6221, allocations: 6.747 MB / 455 MB, free: 4.355 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.978e-06/0.6222, allocations: 0 / 455 MB, free: 4.355 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.6222, allocations: 0 / 455 MB, free: 4.355 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002103/0.6224, allocations: 0 / 455 MB, free: 4.355 MB / 366.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.02906/0.6515, allocations: 4.433 MB / 459.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.682e-05/0.6516, allocations: 8.031 kB / 459.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01475/0.6664, allocations: 0.8318 MB / 460.2 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01095/0.6774, allocations: 2.451 MB / 462.7 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005124/0.678, allocations: 250.8 kB / 462.9 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001903/0.6799, allocations: 327.8 kB / 463.2 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02371/0.7037, allocations: 4.263 MB / 467.5 MB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002623/0.704, allocations: 4 kB / 467.5 MB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001409/0.7055, allocations: 132 kB / 467.6 MB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002956/0.7058, allocations: 150.4 kB / 467.8 MB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01917/0.725, allocations: 3.605 MB / 471.4 MB, free: 3.719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0557/0.7807, allocations: 13.79 MB / 485.2 MB, free: 5.523 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01267/0.7935, allocations: 6.653 MB / 491.8 MB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005194/0.7988, allocations: 1.402 MB / 493.2 MB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01846/0.8173, allocations: 3.885 MB / 497.1 MB, free: 8.582 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.147e-05/0.8174, allocations: 51.88 kB / 497.2 MB, free: 8.523 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 8.757e-06/0.8174, allocations: 0 / 497.2 MB, free: 8.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.02815/0.8456, allocations: 5.882 MB / 0.4913 GB, free: 2.422 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.75e-05/0.8457, allocations: 64.72 kB / 0.4913 GB, free: 2.348 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006038/0.8518, allocations: 1.813 MB / 0.4931 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003943/0.8523, allocations: 53.7 kB / 0.4932 GB, free: 488 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00226/0.8546, allocations: 1.446 MB / 0.4946 GB, free: 15.01 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.005228/0.8599, allocations: 485 kB / 0.495 GB, free: 14.53 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001507/0.8614, allocations: 311.3 kB / 0.4953 GB, free: 14.22 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.8616, allocations: 301.1 kB / 0.4956 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002344/0.864, allocations: 0.6793 MB / 0.4963 GB, free: 13.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002447/0.8665, allocations: 1.201 MB / 0.4975 GB, free: 11.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005721/0.8723, allocations: 2.006 MB / 0.4994 GB, free: 9.594 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.185e-05/0.8723, allocations: 4 kB / 0.4994 GB, free: 9.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.009238/0.8816, allocations: 2.546 MB / 0.5019 GB, free: 7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.352e-05/0.8817, allocations: 12.34 kB / 0.5019 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.235e-05/0.8818, allocations: 20 kB / 0.5019 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006355/0.8882, allocations: 367.6 kB / 0.5023 GB, free: 6.598 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003206/0.8915, allocations: 371.4 kB / 0.5026 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01469/0.9062, allocations: 8.396 MB / 0.5108 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002833/0.9091, allocations: 76.06 kB / 0.5109 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004377/0.9096, allocations: 79.98 kB / 0.511 GB, free: 13.13 MB / 446.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 (idealOpener.control,idealCloser.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 (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 {(1,7,100.0%), (2,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.007827/0.9175, allocations: 1.005 MB / 0.512 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009244/0.9184, allocations: 201.5 kB / 0.5122 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008402/0.9268, allocations: 2.297 MB / 0.5144 GB, free: 9.547 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.39e-05/0.9269, allocations: 16 kB / 0.5144 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.167e-05/0.927, allocations: 8 kB / 0.5144 GB, free: 9.523 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-05/0.927, allocations: 3.984 kB / 0.5144 GB, free: 9.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02203/0.9491, allocations: 5.083 MB / 0.5194 GB, free: 4.297 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.128e-05/0.9492, allocations: 4 kB / 0.5194 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001789/0.951, allocations: 167.8 kB / 0.5196 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003142/0.9542, allocations: 0.5398 MB / 0.5201 GB, free: 3.574 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000298/0.9545, allocations: 39.98 kB / 0.5201 GB, free: 3.535 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02924/0.9838, allocations: 13.23 MB / 0.533 GB, free: 5.465 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.9838, allocations: 8.438 kB / 0.5331 GB, free: 5.457 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01516/0.999, allocations: 3.222 MB / 0.5362 GB, free: 2.148 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002091/1.001, allocations: 426.6 kB / 0.5366 GB, free: 1.711 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007448/1.002, allocations: 31.94 kB / 0.5366 GB, free: 1.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006335/1.008, allocations: 67.95 kB / 0.5367 GB, free: 1.613 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006643/1.009, allocations: 109.2 kB / 0.5368 GB, free: 1.508 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000262/1.009, allocations: 39.98 kB / 0.5368 GB, free: 1.469 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004004/1.013, allocations: 1.228 MB / 0.538 GB, free: 256 kB / 462.1 MB Notification: Performance of sort global known variables: time 8.22e-07/1.013, allocations: 0 / 0.538 GB, free: 256 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.3587/1.372, allocations: 0.5838 MB / 0.5386 GB, free: 122.1 MB / 462.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 (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,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,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.000874/1.373, allocations: 164.6 kB / 0.5388 GB, free: 122 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007497/1.381, allocations: 2.357 MB / 0.5411 GB, free: 121.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/1.381, allocations: 1.375 kB / 0.5411 GB, free: 121.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004592/1.385, allocations: 1.733 MB / 0.5428 GB, free: 120.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004947/1.39, allocations: 0.5568 MB / 0.5433 GB, free: 120.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01863/1.409, allocations: 5.81 MB / 0.549 GB, free: 117.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003935/1.413, allocations: 2.259 MB / 0.5512 GB, free: 116.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009876/1.414, allocations: 142 kB / 0.5513 GB, free: 116.8 MB / 462.1 MB Notification: Performance of SimCode: time 2.214e-06/1.414, allocations: 0 / 0.5513 GB, free: 116.8 MB / 462.1 MB Notification: Performance of Templates: time 0.2092/1.623, allocations: 130 MB / 0.6782 GB, free: 7.055 MB / 478.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/jenkins1/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/jenkins1/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