Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.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_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001476, allocations: 183 kB / 18.04 MB, free: 3.777 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.44/1.44, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0007525/0.0007524, allocations: 93.53 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003148, allocations: 8 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2274, allocations: 47.58 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.11/0.3374, allocations: 102.4 MB / 479.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.3377, allocations: 95.92 kB / 479.5 MB, free: 9.992 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2395/0.5771, allocations: 40.13 MB / 0.5075 GB, free: 96.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5772, allocations: 0 / 0.5075 GB, free: 96.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001389/0.5773, allocations: 48.91 kB / 0.5075 GB, free: 96.43 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.004712/0.582, allocations: 2.11 MB / 0.5096 GB, free: 95.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.5821, allocations: 10.5 kB / 0.5096 GB, free: 95.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008498/0.5829, allocations: 253.8 kB / 0.5099 GB, free: 95.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00255/0.5855, allocations: 1.404 MB / 0.5112 GB, free: 94.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-05/0.5856, allocations: 134.1 kB / 0.5114 GB, free: 94.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003491/0.586, allocations: 176.9 kB / 0.5115 GB, free: 94.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003431/0.5894, allocations: 2.37 MB / 0.5138 GB, free: 94.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-05/0.5895, allocations: 7.141 kB / 0.5138 GB, free: 94.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/0.5897, allocations: 73.09 kB / 0.5139 GB, free: 94.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.861e-05/0.5897, allocations: 88.39 kB / 0.514 GB, free: 94.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002758/0.5925, allocations: 1.884 MB / 0.5158 GB, free: 93.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009376/0.6019, allocations: 7.181 MB / 0.5228 GB, free: 89.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.6036, allocations: 1.319 MB / 0.5241 GB, free: 88.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009755/0.6045, allocations: 0.7354 MB / 0.5249 GB, free: 88.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002309/0.6048, allocations: 130 kB / 0.525 GB, free: 88.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.6048, allocations: 54.66 kB / 0.525 GB, free: 88.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=90): time 5.29e-06/0.6048, allocations: 4 kB / 0.525 GB, free: 88.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=113): time 0.0144/0.6193, allocations: 7.142 MB / 0.532 GB, free: 83.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.6193, allocations: 64.41 kB / 0.5321 GB, free: 83.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.6208, allocations: 1.176 MB / 0.5332 GB, free: 82.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.372e-05/0.6209, allocations: 45.7 kB / 0.5333 GB, free: 82.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003736/0.6213, allocations: 0.8643 MB / 0.5341 GB, free: 81.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.6215, allocations: 396.3 kB / 0.5345 GB, free: 81.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.373e-05/0.6216, allocations: 24 kB / 0.5345 GB, free: 81.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.517e-05/0.6217, allocations: 357.9 kB / 0.5348 GB, free: 81.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008962/0.6226, allocations: 0.674 MB / 0.5355 GB, free: 80.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.6236, allocations: 0.9862 MB / 0.5365 GB, free: 79.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002028/0.6256, allocations: 1.768 MB / 0.5382 GB, free: 77.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.6256, allocations: 0 / 0.5382 GB, free: 77.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003577/0.6292, allocations: 2.417 MB / 0.5406 GB, free: 74.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.6293, allocations: 8 kB / 0.5406 GB, free: 74.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.6293, allocations: 11.98 kB / 0.5406 GB, free: 74.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.6306, allocations: 0.6402 MB / 0.5412 GB, free: 74.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000915/0.6315, allocations: 279.6 kB / 0.5415 GB, free: 73.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005838/0.6374, allocations: 6.318 MB / 0.5476 GB, free: 67.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.6386, allocations: 91.97 kB / 0.5477 GB, free: 67.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/0.6388, allocations: 48 kB / 0.5478 GB, free: 67.25 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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: 2 * 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: 2 {(5,76.0%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001108/0.6399, allocations: 0.6144 MB / 0.5484 GB, free: 66.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003062/0.6402, allocations: 137.8 kB / 0.5485 GB, free: 66.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003535/0.6437, allocations: 2.255 MB / 0.5507 GB, free: 64.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.6438, allocations: 12 kB / 0.5507 GB, free: 64.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/0.6438, allocations: 8 kB / 0.5507 GB, free: 64.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.6438, allocations: 19.84 kB / 0.5507 GB, free: 64.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006623/0.6504, allocations: 4.429 MB / 0.5551 GB, free: 59.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.6505, allocations: 0 / 0.5551 GB, free: 59.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006776/0.6511, allocations: 179.1 kB / 0.5552 GB, free: 59.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0016/0.6528, allocations: 0.7099 MB / 0.5559 GB, free: 58.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.176e-05/0.6529, allocations: 35.97 kB / 0.556 GB, free: 58.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006873/0.6597, allocations: 8.05 MB / 0.5638 GB, free: 50.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.6598, allocations: 0 / 0.5638 GB, free: 50.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004465/0.6642, allocations: 3.233 MB / 0.567 GB, free: 47.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006802/0.6649, allocations: 355.3 kB / 0.5673 GB, free: 46.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002368/0.6652, allocations: 43.86 kB / 0.5674 GB, free: 46.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00081/0.666, allocations: 79.91 kB / 0.5674 GB, free: 46.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/0.6662, allocations: 96.81 kB / 0.5675 GB, free: 46.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.457e-05/0.6663, allocations: 39.98 kB / 0.5676 GB, free: 46.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001105/0.6674, allocations: 0.8108 MB / 0.5684 GB, free: 45.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6674, allocations: 0 / 0.5684 GB, free: 45.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001477/0.6689, allocations: 468 kB / 0.5688 GB, free: 45.11 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.w) * 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 (84): * 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): 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 {(5,76.0%) 23,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005439/0.6695, allocations: 298.1 kB / 0.5691 GB, free: 44.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003378/0.6729, allocations: 2.304 MB / 0.5713 GB, free: 42.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.6729, allocations: 4 kB / 0.5713 GB, free: 42.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002137/0.675, allocations: 1.558 MB / 0.5729 GB, free: 40.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002349/0.6774, allocations: 368.5 kB / 0.5732 GB, free: 40.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006146/0.6835, allocations: 4.745 MB / 0.5779 GB, free: 35.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.6847, allocations: 1.654 MB / 0.5795 GB, free: 34.03 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009507/0.6857, allocations: 300 kB / 0.5798 GB, free: 33.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00027/0.686, allocations: 95.42 kB / 0.5798 GB, free: 33.64 MB / 378.7 MB Notification: Performance of SimCode: time 9.12e-07/0.686, allocations: 0 / 0.5798 GB, free: 33.64 MB / 378.7 MB Notification: Performance of Templates: time 0.03658/0.7226, allocations: 25.09 MB / 0.6043 GB, free: 8.559 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_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_Inverter/AIMC_Inverter.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches