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.001769/0.001769, allocations: 181 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.001/2.001, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.001117/0.001117, allocations: 88.22 kB / 271.5 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002805/0.0002805, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3312, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1458/0.4772, allocations: 104 MB / 479.8 MB, free: 8.633 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004423/0.4777, allocations: 95.95 kB / 479.9 MB, free: 8.539 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3529/0.8306, allocations: 41.31 MB / 0.509 GB, free: 95.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.8306, allocations: 0 / 0.509 GB, free: 95.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001356/0.8308, allocations: 50.19 kB / 0.509 GB, free: 95.95 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.004354/0.8351, allocations: 2.212 MB / 0.5112 GB, free: 94.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.8352, allocations: 7.875 kB / 0.5112 GB, free: 94.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006499/0.8359, allocations: 267.5 kB / 0.5115 GB, free: 94.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002533/0.8384, allocations: 1.38 MB / 0.5128 GB, free: 94.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-05/0.8385, allocations: 146 kB / 0.513 GB, free: 94.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002385/0.8388, allocations: 187.5 kB / 0.5131 GB, free: 94.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00332/0.8421, allocations: 2.423 MB / 0.5155 GB, free: 93.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.231e-05/0.8422, allocations: 7.844 kB / 0.5155 GB, free: 93.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001713/0.8423, allocations: 87.25 kB / 0.5156 GB, free: 92.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.082e-05/0.8424, allocations: 77.58 kB / 0.5157 GB, free: 92.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002792/0.8452, allocations: 1.912 MB / 0.5175 GB, free: 92.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01023/0.8555, allocations: 7.822 MB / 0.5252 GB, free: 88.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.8571, allocations: 1.405 MB / 0.5265 GB, free: 87.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002543/0.8574, allocations: 135.1 kB / 0.5267 GB, free: 87.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.8574, allocations: 47.38 kB / 0.5267 GB, free: 87.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=111): time 4.298e-06/0.8574, allocations: 0 / 0.5267 GB, free: 87.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.01147/0.8689, allocations: 6.303 MB / 0.5329 GB, free: 82.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.869, allocations: 68.7 kB / 0.5329 GB, free: 82.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/0.8708, allocations: 1.099 MB / 0.534 GB, free: 80.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.878e-05/0.8709, allocations: 45.7 kB / 0.5341 GB, free: 80.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004921/0.8715, allocations: 0.8853 MB / 0.5349 GB, free: 80.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000253/0.8717, allocations: 445.3 kB / 0.5353 GB, free: 79.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.228e-05/0.8718, allocations: 28 kB / 0.5354 GB, free: 79.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.964e-05/0.8719, allocations: 361.9 kB / 0.5357 GB, free: 79.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009263/0.8728, allocations: 0.6715 MB / 0.5364 GB, free: 78.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/0.8739, allocations: 1 MB / 0.5373 GB, free: 77.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.8751, allocations: 0.8262 MB / 0.5382 GB, free: 76.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.8751, allocations: 4 kB / 0.5382 GB, free: 76.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003704/0.8788, allocations: 2.393 MB / 0.5405 GB, free: 74.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.8789, allocations: 8 kB / 0.5405 GB, free: 74.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.481e-05/0.8789, allocations: 8 kB / 0.5405 GB, free: 74.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/0.8802, allocations: 0.5654 MB / 0.5411 GB, free: 73.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.8813, allocations: 309.6 kB / 0.5414 GB, free: 73.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007125/0.8884, allocations: 8.603 MB / 0.5498 GB, free: 64.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.89, allocations: 91.89 kB / 0.5498 GB, free: 64.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000247/0.8903, allocations: 59.94 kB / 0.5499 GB, free: 64 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 (144): * Single equations (assignments): 138 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001399/0.8917, allocations: 0.5959 MB / 0.5505 GB, free: 63.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000458/0.8922, allocations: 146.2 kB / 0.5506 GB, free: 63.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003699/0.8959, allocations: 2.204 MB / 0.5528 GB, free: 61.01 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.8959, allocations: 12 kB / 0.5528 GB, free: 61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.019e-05/0.8959, allocations: 8 kB / 0.5528 GB, free: 60.99 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.8959, allocations: 3.984 kB / 0.5528 GB, free: 60.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007244/0.9032, allocations: 4.388 MB / 0.5571 GB, free: 56.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.9032, allocations: 0 / 0.5571 GB, free: 56.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008225/0.9041, allocations: 203.7 kB / 0.5573 GB, free: 56.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001483/0.9056, allocations: 0.6219 MB / 0.5579 GB, free: 55.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.9057, allocations: 35.98 kB / 0.5579 GB, free: 55.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008498/0.9142, allocations: 10.16 MB / 0.5678 GB, free: 44.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.9142, allocations: 8 kB / 0.5678 GB, free: 44.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004852/0.9191, allocations: 3.282 MB / 0.5711 GB, free: 41.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.9202, allocations: 375.1 kB / 0.5714 GB, free: 41.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004369/0.9207, allocations: 31.98 kB / 0.5714 GB, free: 41.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.9218, allocations: 71.92 kB / 0.5715 GB, free: 40.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000306/0.9221, allocations: 116.8 kB / 0.5716 GB, free: 40.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.965e-05/0.9222, allocations: 35.98 kB / 0.5717 GB, free: 40.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001364/0.9236, allocations: 0.8443 MB / 0.5725 GB, free: 39.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.9236, allocations: 0 / 0.5725 GB, free: 39.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002121/0.9257, allocations: 499.9 kB / 0.573 GB, free: 39.48 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 (91): * Single equations (assignments): 85 * 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: 5 * 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: 5 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8,(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.0005699/0.9263, allocations: 306.8 kB / 0.5732 GB, free: 39.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003577/0.9299, allocations: 2.514 MB / 0.5757 GB, free: 36.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.9299, allocations: 1.938 kB / 0.5757 GB, free: 36.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002267/0.9322, allocations: 1.747 MB / 0.5774 GB, free: 34.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002023/0.9342, allocations: 385.1 kB / 0.5778 GB, free: 34.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008007/0.9422, allocations: 5.029 MB / 0.5827 GB, free: 29.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001785/0.9441, allocations: 1.694 MB / 0.5843 GB, free: 27.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001281/0.9454, allocations: 329 kB / 0.5847 GB, free: 27.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003865/0.9458, allocations: 99.42 kB / 0.5848 GB, free: 27.14 MB / 378.7 MB Notification: Performance of SimCode: time 1.262e-06/0.9458, allocations: 0 / 0.5848 GB, free: 27.14 MB / 378.7 MB Notification: Performance of Templates: time 0.0457/0.9915, allocations: 25.65 MB / 0.6098 GB, free: 1.492 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/jenkins/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