Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 180.1 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.31/1.31, allocations: 205.4 MB / 224.2 MB, free: 9.016 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.0007344/0.0007344, allocations: 86.34 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.0003115, allocations: 8 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1896, allocations: 47.57 MB / 377 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1119/0.3015, allocations: 109.4 MB / 486.4 MB, free: 3.137 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.3019, allocations: 99.92 kB / 486.5 MB, free: 3.039 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2673/0.5691, allocations: 51.85 MB / 0.5257 GB, free: 93.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5692, allocations: 4 kB / 0.5257 GB, free: 93.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002464/0.5694, allocations: 59.94 kB / 0.5258 GB, free: 93.01 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.0046/0.574, allocations: 2.74 MB / 0.5284 GB, free: 90.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.5741, allocations: 8.031 kB / 0.5285 GB, free: 90.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007571/0.5748, allocations: 333.2 kB / 0.5288 GB, free: 89.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00296/0.5778, allocations: 1.85 MB / 0.5306 GB, free: 88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-05/0.5779, allocations: 148.4 kB / 0.5307 GB, free: 87.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002906/0.5782, allocations: 207.8 kB / 0.5309 GB, free: 87.65 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003683/0.5819, allocations: 2.699 MB / 0.5336 GB, free: 84.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.004e-05/0.582, allocations: 7.906 kB / 0.5336 GB, free: 84.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001831/0.5822, allocations: 87.98 kB / 0.5336 GB, free: 84.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.49e-05/0.5822, allocations: 87.94 kB / 0.5337 GB, free: 84.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003382/0.5856, allocations: 2.186 MB / 0.5359 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01067/0.5963, allocations: 8.336 MB / 0.544 GB, free: 74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002405/0.5987, allocations: 1.67 MB / 0.5456 GB, free: 72.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.6001, allocations: 1.025 MB / 0.5466 GB, free: 71.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002479/0.6004, allocations: 145.5 kB / 0.5468 GB, free: 71.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.6004, allocations: 47.56 kB / 0.5468 GB, free: 71.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=119): time 2.705e-06/0.6004, allocations: 0 / 0.5468 GB, free: 71.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=135): time 0.01127/0.6117, allocations: 6.576 MB / 0.5532 GB, free: 64.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.6118, allocations: 64.72 kB / 0.5533 GB, free: 64.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002591/0.6144, allocations: 2.109 MB / 0.5554 GB, free: 62.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.051e-05/0.6145, allocations: 49.7 kB / 0.5554 GB, free: 62.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005523/0.615, allocations: 1.094 MB / 0.5565 GB, free: 60.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002541/0.6153, allocations: 474 kB / 0.5569 GB, free: 60.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-05/0.6154, allocations: 28 kB / 0.557 GB, free: 60.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.037e-05/0.6155, allocations: 357.9 kB / 0.5573 GB, free: 60.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.6166, allocations: 0.7729 MB / 0.5581 GB, free: 59.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.6178, allocations: 1.017 MB / 0.5591 GB, free: 58.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002444/0.6202, allocations: 1.873 MB / 0.5609 GB, free: 56.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.6202, allocations: 4 kB / 0.5609 GB, free: 56.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004269/0.6245, allocations: 2.835 MB / 0.5637 GB, free: 53.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.6245, allocations: 7.125 kB / 0.5637 GB, free: 53.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.6246, allocations: 8 kB / 0.5637 GB, free: 53.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001775/0.6263, allocations: 0.8386 MB / 0.5645 GB, free: 52.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009763/0.6273, allocations: 271.6 kB / 0.5647 GB, free: 52.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009316/0.6367, allocations: 9.331 MB / 0.5739 GB, free: 42.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.6378, allocations: 99.97 kB / 0.574 GB, free: 42.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.6379, allocations: 55.98 kB / 0.574 GB, free: 42.53 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(6,88.9%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001053/0.6389, allocations: 0.7439 MB / 0.5747 GB, free: 41.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003066/0.6393, allocations: 201.5 kB / 0.5749 GB, free: 41.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003875/0.6431, allocations: 2.578 MB / 0.5774 GB, free: 38.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.6432, allocations: 19.94 kB / 0.5775 GB, free: 38.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.6432, allocations: 4 kB / 0.5775 GB, free: 38.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.6432, allocations: 3.984 kB / 0.5775 GB, free: 38.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007291/0.6505, allocations: 5.12 MB / 0.5825 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.6505, allocations: 4 kB / 0.5825 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008972/0.6514, allocations: 219.9 kB / 0.5827 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001597/0.653, allocations: 0.7088 MB / 0.5834 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.642e-05/0.6531, allocations: 39.97 kB / 0.5834 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007233/0.6604, allocations: 8.488 MB / 0.5917 GB, free: 23.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6604, allocations: 0 / 0.5917 GB, free: 23.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005204/0.6656, allocations: 3.66 MB / 0.5953 GB, free: 20.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008255/0.6665, allocations: 482.3 kB / 0.5957 GB, free: 19.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002849/0.6667, allocations: 32 kB / 0.5958 GB, free: 19.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009575/0.6677, allocations: 95.89 kB / 0.5959 GB, free: 19.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002471/0.668, allocations: 105.1 kB / 0.596 GB, free: 19.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.205e-05/0.6681, allocations: 43.98 kB / 0.596 GB, free: 19.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001905/0.67, allocations: 1.472 MB / 0.5974 GB, free: 17.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.67, allocations: 0 / 0.5974 GB, free: 17.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001801/0.6718, allocations: 0.5937 MB / 0.598 GB, free: 17.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 6,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001104/0.6729, allocations: 0.6075 MB / 0.5986 GB, free: 16.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003715/0.6766, allocations: 2.507 MB / 0.6011 GB, free: 14.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6767, allocations: 384 / 0.6011 GB, free: 14.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002302/0.679, allocations: 1.749 MB / 0.6028 GB, free: 12.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/0.6814, allocations: 426.4 kB / 0.6032 GB, free: 11.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006997/0.6884, allocations: 6.085 MB / 0.6091 GB, free: 5.801 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/0.6897, allocations: 1.951 MB / 0.611 GB, free: 3.816 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001127/0.6909, allocations: 407.7 kB / 0.6114 GB, free: 3.414 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003492/0.6912, allocations: 131.4 kB / 0.6115 GB, free: 3.285 MB / 378.7 MB Notification: Performance of SimCode: time 5.3e-07/0.6912, allocations: 7.938 kB / 0.6115 GB, free: 3.277 MB / 378.7 MB Notification: Performance of Templates: time 0.05094/0.7422, allocations: 31.61 MB / 0.6424 GB, free: 3.602 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_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_withLosses/AIMC_withLosses.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches