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/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_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/Complex trunk/package.mo): time 0.0009622/0.0009623, allocations: 198.8 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.163/1.163, allocations: 227.2 MB / 245 MB, free: 7.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008253/0.0008253, allocations: 110 kB / 297.3 MB, free: 6.137 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000211/0.0002113, allocations: 4 kB / 357.9 MB, free: 9.484 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1919, allocations: 51.49 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2684/0.4604, allocations: 112 MB / 0.5092 GB, free: 97.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.4607, allocations: 99.23 kB / 0.5093 GB, free: 97.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1691/0.6299, allocations: 84.07 MB / 0.5914 GB, free: 18.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6299, allocations: 0 / 0.5914 GB, free: 18.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002084/0.6301, allocations: 87.8 kB / 0.5914 GB, free: 18.87 MB / 378.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.008287/0.6384, allocations: 3.552 MB / 0.5949 GB, free: 15.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.6385, allocations: 12.03 kB / 0.5949 GB, free: 15.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003675/0.6422, allocations: 0.7609 MB / 0.5957 GB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006642/0.6488, allocations: 3.363 MB / 0.599 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.6489, allocations: 238.5 kB / 0.5992 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004102/0.6494, allocations: 327.9 kB / 0.5995 GB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005393/0.6548, allocations: 4.196 MB / 0.6036 GB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.16e-05/0.6548, allocations: 3.906 kB / 0.6036 GB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000268/0.6551, allocations: 136 kB / 0.6037 GB, free: 6.039 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.106e-05/0.6552, allocations: 146.4 kB / 0.6039 GB, free: 5.895 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004615/0.6598, allocations: 3.406 MB / 0.6072 GB, free: 2.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01952/0.6794, allocations: 14.01 MB / 0.6209 GB, free: 4.078 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00597/0.6854, allocations: 6.651 MB / 0.6274 GB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005295/0.6907, allocations: 3.503 MB / 0.6308 GB, free: 8.938 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.6908, allocations: 51.88 kB / 0.6308 GB, free: 8.875 MB / 410.7 MB Notification: Performance of pre-optimization done (n=140): time 2.564e-06/0.6908, allocations: 0 / 0.6308 GB, free: 8.875 MB / 410.7 MB Notification: Performance of matching and sorting (n=143): time 0.01064/0.7014, allocations: 6.015 MB / 0.6367 GB, free: 2.641 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.7015, allocations: 68.67 kB / 0.6368 GB, free: 2.562 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002134/0.7036, allocations: 1.561 MB / 0.6383 GB, free: 1.004 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.7037, allocations: 53.7 kB / 0.6383 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001018/0.7048, allocations: 1.443 MB / 0.6398 GB, free: 15.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003836/0.7051, allocations: 492.8 kB / 0.6402 GB, free: 14.99 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.234e-05/0.7052, allocations: 40 kB / 0.6403 GB, free: 14.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.7054, allocations: 373.9 kB / 0.6406 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.7065, allocations: 0.6911 MB / 0.6413 GB, free: 13.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.7078, allocations: 1.186 MB / 0.6425 GB, free: 12.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.7092, allocations: 0.9082 MB / 0.6433 GB, free: 11.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.7092, allocations: 4 kB / 0.6433 GB, free: 11.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.003902/0.7131, allocations: 2.558 MB / 0.6458 GB, free: 8.984 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.7131, allocations: 12 kB / 0.6459 GB, free: 8.973 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.7132, allocations: 19.94 kB / 0.6459 GB, free: 8.953 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009001/0.7141, allocations: 364.4 kB / 0.6462 GB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.7154, allocations: 383.3 kB / 0.6466 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007041/0.7225, allocations: 7.77 MB / 0.6542 GB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.724, allocations: 84.09 kB / 0.6543 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.7241, allocations: 76 kB / 0.6543 GB, free: 15.74 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 189 * 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.001806/0.726, allocations: 1.007 MB / 0.6553 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002646/0.7262, allocations: 205.5 kB / 0.6555 GB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003657/0.7299, allocations: 2.344 MB / 0.6578 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.7299, allocations: 15.98 kB / 0.6578 GB, free: 12.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.7299, allocations: 11.94 kB / 0.6578 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.73, allocations: 3.984 kB / 0.6578 GB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008124/0.7381, allocations: 5.2 MB / 0.6629 GB, free: 6.746 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.7381, allocations: 0 / 0.6629 GB, free: 6.746 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008466/0.739, allocations: 183.8 kB / 0.6631 GB, free: 6.566 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001336/0.7403, allocations: 0.5312 MB / 0.6636 GB, free: 6.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.81e-05/0.7404, allocations: 39.98 kB / 0.6636 GB, free: 5.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1889/0.9293, allocations: 12.23 MB / 0.6756 GB, free: 85.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.9294, allocations: 0 / 0.6756 GB, free: 85.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004368/0.9338, allocations: 3.405 MB / 0.6789 GB, free: 84.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008015/0.9346, allocations: 433.8 kB / 0.6793 GB, free: 84.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/0.9348, allocations: 36.83 kB / 0.6794 GB, free: 84.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008439/0.9356, allocations: 79.11 kB / 0.6794 GB, free: 84.41 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/0.9359, allocations: 109.8 kB / 0.6795 GB, free: 84.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-05/0.936, allocations: 41.25 kB / 0.6796 GB, free: 84.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001558/0.9375, allocations: 1.197 MB / 0.6807 GB, free: 84.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9375, allocations: 0 / 0.6807 GB, free: 84.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001983/0.9395, allocations: 0.6277 MB / 0.6814 GB, free: 84.29 MB / 442.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.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,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 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 86 * 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%) 13,(1,100.0%) 1,(1,100.0%) 7,(2,100.0%) 8,(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.0005136/0.94, allocations: 391.6 kB / 0.6817 GB, free: 84.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002674/0.9427, allocations: 2.39 MB / 0.6841 GB, free: 83.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.9427, allocations: 0 / 0.6841 GB, free: 83.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001971/0.9447, allocations: 1.77 MB / 0.6858 GB, free: 82.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/0.9465, allocations: 0.5211 MB / 0.6863 GB, free: 82.89 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007979/0.9545, allocations: 7.131 MB / 0.6933 GB, free: 79.87 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001618/0.9561, allocations: 2.369 MB / 0.6956 GB, free: 79.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001333/0.9574, allocations: 407.5 kB / 0.696 GB, free: 79.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/0.9577, allocations: 128.2 kB / 0.6961 GB, free: 79.03 MB / 442.7 MB Notification: Performance of SimCode: time 7.71e-07/0.9577, allocations: 0 / 0.6961 GB, free: 79.03 MB / 442.7 MB Notification: Performance of Templates: time 0.04089/0.9986, allocations: 30.68 MB / 0.726 GB, free: 77.45 MB / 442.7 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","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches