Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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_DOL,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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009498/0.0009499, allocations: 183.8 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.308/1.308, allocations: 205.4 MB / 224.2 MB, free: 9.051 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.0007253/0.0007253, allocations: 92.78 kB / 272.5 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.0003127, allocations: 16 kB / 329.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2337, allocations: 47.58 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1177/0.3515, allocations: 104 MB / 481 MB, free: 8.562 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.3518, allocations: 87.95 kB / 481.1 MB, free: 8.477 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2734/0.6252, allocations: 44.42 MB / 0.5132 GB, free: 96 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6253, allocations: 0 / 0.5132 GB, free: 96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002338/0.6255, allocations: 53.42 kB / 0.5132 GB, free: 95.99 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.006656/0.6322, allocations: 2.419 MB / 0.5156 GB, free: 94.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.6323, allocations: 7.5 kB / 0.5156 GB, free: 94.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/0.6337, allocations: 299.1 kB / 0.5159 GB, free: 94.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003426/0.6371, allocations: 1.6 MB / 0.5175 GB, free: 93.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.6373, allocations: 150.5 kB / 0.5176 GB, free: 93.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006342/0.6379, allocations: 203.3 kB / 0.5178 GB, free: 93.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005845/0.6438, allocations: 2.726 MB / 0.5205 GB, free: 92.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001109/0.6439, allocations: 11.91 kB / 0.5205 GB, free: 92.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004291/0.6444, allocations: 94.91 kB / 0.5206 GB, free: 92.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.665e-05/0.6445, allocations: 82.89 kB / 0.5206 GB, free: 92.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004712/0.6492, allocations: 2.233 MB / 0.5228 GB, free: 91.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0132/0.6624, allocations: 8.454 MB / 0.5311 GB, free: 85.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/0.6642, allocations: 1.813 MB / 0.5328 GB, free: 83.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/0.6656, allocations: 1.003 MB / 0.5338 GB, free: 82.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000235/0.6658, allocations: 142 kB / 0.534 GB, free: 82.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.6659, allocations: 47.5 kB / 0.534 GB, free: 82.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 3.306e-06/0.6659, allocations: 0 / 0.534 GB, free: 82.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=123): time 0.01159/0.6775, allocations: 6.402 MB / 0.5403 GB, free: 75.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.6776, allocations: 64.41 kB / 0.5403 GB, free: 75.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/0.6799, allocations: 1.481 MB / 0.5418 GB, free: 74.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.68, allocations: 49.64 kB / 0.5418 GB, free: 74.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004763/0.6805, allocations: 0.9796 MB / 0.5428 GB, free: 73.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002794/0.6808, allocations: 421.6 kB / 0.5432 GB, free: 72.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.901e-05/0.6809, allocations: 28 kB / 0.5432 GB, free: 72.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.71e-05/0.681, allocations: 369.8 kB / 0.5435 GB, free: 72.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.682, allocations: 0.73 MB / 0.5443 GB, free: 71.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.6831, allocations: 1.046 MB / 0.5453 GB, free: 70.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/0.6853, allocations: 1.868 MB / 0.5471 GB, free: 68.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.6853, allocations: 0 / 0.5471 GB, free: 68.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003472/0.6888, allocations: 2.345 MB / 0.5494 GB, free: 66.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.6888, allocations: 15.88 kB / 0.5494 GB, free: 66.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.6888, allocations: 12.25 kB / 0.5494 GB, free: 66.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008419/0.6897, allocations: 417.7 kB / 0.5498 GB, free: 65.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.6909, allocations: 343.5 kB / 0.5501 GB, free: 65.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003842/0.6947, allocations: 4.642 MB / 0.5547 GB, free: 60.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.6962, allocations: 91.97 kB / 0.5548 GB, free: 60.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/0.6964, allocations: 52 kB / 0.5548 GB, free: 60.37 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001457/0.6978, allocations: 0.712 MB / 0.5555 GB, free: 59.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000502/0.6983, allocations: 161.9 kB / 0.5557 GB, free: 59.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003619/0.702, allocations: 2.176 MB / 0.5578 GB, free: 57.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.702, allocations: 12 kB / 0.5578 GB, free: 57.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/0.702, allocations: 4 kB / 0.5578 GB, free: 57.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.702, allocations: 7.984 kB / 0.5578 GB, free: 57.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007696/0.7097, allocations: 4.602 MB / 0.5623 GB, free: 52.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.7098, allocations: 4 kB / 0.5623 GB, free: 52.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009553/0.7108, allocations: 227.7 kB / 0.5625 GB, free: 52.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001148/0.7119, allocations: 483.2 kB / 0.563 GB, free: 51.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.712, allocations: 31.98 kB / 0.563 GB, free: 51.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0048/0.7169, allocations: 6.199 MB / 0.5691 GB, free: 45.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.7169, allocations: 4 kB / 0.5691 GB, free: 45.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004691/0.7216, allocations: 3.252 MB / 0.5723 GB, free: 41.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009916/0.7226, allocations: 399 kB / 0.5726 GB, free: 41.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004578/0.7231, allocations: 31.98 kB / 0.5727 GB, free: 41.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.7242, allocations: 79.86 kB / 0.5727 GB, free: 41.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002752/0.7244, allocations: 116.8 kB / 0.5729 GB, free: 41.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-05/0.7245, allocations: 35.98 kB / 0.5729 GB, free: 41.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001689/0.7262, allocations: 1.02 MB / 0.5739 GB, free: 40.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7263, allocations: 3.938 kB / 0.5739 GB, free: 40.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002416/0.7287, allocations: 492 kB / 0.5744 GB, free: 39.74 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 104 * 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 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007993/0.7295, allocations: 300.3 kB / 0.5746 GB, free: 39.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003511/0.733, allocations: 2.286 MB / 0.5769 GB, free: 37.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.7331, allocations: 0 / 0.5769 GB, free: 37.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0021/0.7352, allocations: 1.523 MB / 0.5784 GB, free: 35.53 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00341/0.7386, allocations: 430.7 kB / 0.5788 GB, free: 35.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007833/0.7465, allocations: 5.332 MB / 0.584 GB, free: 29.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/0.7481, allocations: 1.823 MB / 0.5858 GB, free: 27.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001464/0.7496, allocations: 397.5 kB / 0.5861 GB, free: 27.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000504/0.7501, allocations: 111.4 kB / 0.5862 GB, free: 27.36 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.7501, allocations: 0 / 0.5862 GB, free: 27.36 MB / 378.7 MB Notification: Performance of Templates: time 0.0413/0.7914, allocations: 26.06 MB / 0.6117 GB, free: 1.293 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_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_DOL/AIMC_DOL.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches