Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000897/0.0008971, allocations: 179.3 kB / 18.04 MB, free: 3.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.264/1.264, allocations: 205.4 MB / 224.2 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007729/0.0007729, allocations: 85.05 kB / 272.5 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003194, allocations: 12 kB / 329.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1891, allocations: 47.57 MB / 377 MB, free: 45.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.105/0.2942, allocations: 104.2 MB / 481.2 MB, free: 8.285 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.2945, allocations: 91.95 kB / 481.3 MB, free: 8.195 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2402/0.5347, allocations: 41.29 MB / 0.5104 GB, free: 96.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5347, allocations: 3.938 kB / 0.5104 GB, free: 96.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001166/0.5349, allocations: 53.38 kB / 0.5104 GB, free: 96.08 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.003535/0.5384, allocations: 2.175 MB / 0.5125 GB, free: 95.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.5384, allocations: 11.66 kB / 0.5126 GB, free: 95.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000579/0.539, allocations: 266 kB / 0.5128 GB, free: 94.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002025/0.5411, allocations: 1.431 MB / 0.5142 GB, free: 94.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.18e-05/0.5412, allocations: 141.6 kB / 0.5143 GB, free: 94.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002346/0.5414, allocations: 195 kB / 0.5145 GB, free: 94.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003193/0.5446, allocations: 2.429 MB / 0.5169 GB, free: 93.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.579e-05/0.5447, allocations: 8.062 kB / 0.5169 GB, free: 93.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/0.5449, allocations: 81.5 kB / 0.517 GB, free: 92.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.838e-05/0.5449, allocations: 89.42 kB / 0.5171 GB, free: 92.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002801/0.5477, allocations: 1.905 MB / 0.5189 GB, free: 92.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00946/0.5572, allocations: 7.83 MB / 0.5266 GB, free: 88.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.5588, allocations: 1.406 MB / 0.528 GB, free: 87.35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/0.5601, allocations: 0.9132 MB / 0.5288 GB, free: 87.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002306/0.5603, allocations: 133.1 kB / 0.529 GB, free: 86.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.5604, allocations: 52.58 kB / 0.529 GB, free: 86.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=111): time 3.256e-06/0.5604, allocations: 0 / 0.529 GB, free: 86.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.01056/0.5709, allocations: 6.072 MB / 0.535 GB, free: 81.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.571, allocations: 68.66 kB / 0.535 GB, free: 80.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.5724, allocations: 1.246 MB / 0.5362 GB, free: 79.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.734e-05/0.5725, allocations: 49.69 kB / 0.5363 GB, free: 79.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/0.5729, allocations: 0.8814 MB / 0.5371 GB, free: 78.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/0.5732, allocations: 441.4 kB / 0.5376 GB, free: 78.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.935e-05/0.5732, allocations: 28 kB / 0.5376 GB, free: 78.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.587e-05/0.5733, allocations: 361.9 kB / 0.5379 GB, free: 77.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009418/0.5743, allocations: 0.6715 MB / 0.5386 GB, free: 77.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009803/0.5753, allocations: 0.9961 MB / 0.5396 GB, free: 76.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001954/0.5772, allocations: 1.766 MB / 0.5413 GB, free: 74.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.5773, allocations: 4 kB / 0.5413 GB, free: 74.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003359/0.5806, allocations: 2.33 MB / 0.5436 GB, free: 71.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.5807, allocations: 8 kB / 0.5436 GB, free: 71.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.5807, allocations: 8 kB / 0.5436 GB, free: 71.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009906/0.5817, allocations: 0.4885 MB / 0.5441 GB, free: 71.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.5828, allocations: 343.5 kB / 0.5444 GB, free: 71.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005059/0.5879, allocations: 6.656 MB / 0.5509 GB, free: 64.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.589, allocations: 87.81 kB / 0.551 GB, free: 63.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-05/0.5891, allocations: 59.94 kB / 0.551 GB, free: 63.87 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (153): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000963/0.59, allocations: 0.6067 MB / 0.5516 GB, free: 63.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/0.5903, allocations: 146.3 kB / 0.5518 GB, free: 63.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002997/0.5933, allocations: 2.137 MB / 0.5538 GB, free: 60.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.5933, allocations: 12 kB / 0.5539 GB, free: 60.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.5933, allocations: 8 kB / 0.5539 GB, free: 60.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.5933, allocations: 7.969 kB / 0.5539 GB, free: 60.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006025/0.5993, allocations: 4.349 MB / 0.5581 GB, free: 56.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.5994, allocations: 4 kB / 0.5581 GB, free: 56.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008968/0.6003, allocations: 224 kB / 0.5583 GB, free: 56.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001201/0.6015, allocations: 0.5531 MB / 0.5589 GB, free: 55.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.002e-05/0.6016, allocations: 35.98 kB / 0.5589 GB, free: 55.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005841/0.6074, allocations: 8.202 MB / 0.5669 GB, free: 46.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.6075, allocations: 7.969 kB / 0.5669 GB, free: 46.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004012/0.6115, allocations: 3.093 MB / 0.5699 GB, free: 43.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006257/0.6121, allocations: 371.2 kB / 0.5703 GB, free: 43.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/0.6123, allocations: 28 kB / 0.5703 GB, free: 43.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007229/0.6131, allocations: 75.92 kB / 0.5704 GB, free: 43.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/0.6133, allocations: 108.8 kB / 0.5705 GB, free: 43.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.5e-05/0.6134, allocations: 43.98 kB / 0.5705 GB, free: 43.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001044/0.6144, allocations: 0.8443 MB / 0.5714 GB, free: 42.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6144, allocations: 0 / 0.5714 GB, free: 42.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00136/0.6158, allocations: 480 kB / 0.5718 GB, free: 41.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (100): * Single equations (assignments): 95 * 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 {(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003952/0.6162, allocations: 320.9 kB / 0.5721 GB, free: 41.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002769/0.619, allocations: 2.349 MB / 0.5744 GB, free: 39.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.619, allocations: 0.5625 kB / 0.5744 GB, free: 39.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001758/0.6208, allocations: 1.596 MB / 0.576 GB, free: 37.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00214/0.6229, allocations: 397.6 kB / 0.5764 GB, free: 37.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005732/0.6287, allocations: 5.026 MB / 0.5813 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000953/0.6296, allocations: 1.658 MB / 0.5829 GB, free: 30.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001028/0.6307, allocations: 329 kB / 0.5832 GB, free: 29.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002541/0.6309, allocations: 103.4 kB / 0.5833 GB, free: 29.86 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.631, allocations: 0 / 0.5833 GB, free: 29.86 MB / 378.7 MB Notification: Performance of Templates: time 0.03652/0.6675, allocations: 25.35 MB / 0.6081 GB, free: 4.512 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches