Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001457/0.001457, allocations: 180.8 kB / 13.66 MB, free: 1.664 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.949/1.949, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001049/0.001049, allocations: 86.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.084e-05/3.087e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09098/0.09103, allocations: 47.57 MB / 369.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4415/0.5326, allocations: 103.9 MB / 473 MB, free: 5.578 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.533, allocations: 86.95 kB / 473.1 MB, free: 5.535 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1739/0.7069, allocations: 41.39 MB / 0.5024 GB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.707, allocations: 0 / 0.5024 GB, free: 13.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001854/0.7072, allocations: 55.94 kB / 0.5025 GB, free: 13.47 MB / 394.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.006332/0.7135, allocations: 1.977 MB / 0.5044 GB, free: 11.44 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.7136, allocations: 8.031 kB / 0.5044 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.7148, allocations: 273.1 kB / 0.5047 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004175/0.719, allocations: 1.368 MB / 0.506 GB, free: 9.738 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/0.7192, allocations: 139.8 kB / 0.5061 GB, free: 9.602 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004992/0.7197, allocations: 203.9 kB / 0.5063 GB, free: 9.402 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006281/0.726, allocations: 2.362 MB / 0.5086 GB, free: 6.949 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.742e-05/0.7262, allocations: 11.98 kB / 0.5086 GB, free: 6.938 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002978/0.7265, allocations: 80 kB / 0.5087 GB, free: 6.859 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001393/0.7266, allocations: 83.69 kB / 0.5088 GB, free: 6.777 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005429/0.7321, allocations: 1.842 MB / 0.5106 GB, free: 4.934 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02008/0.7522, allocations: 7.831 MB / 0.5182 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00322/0.7555, allocations: 1.373 MB / 0.5196 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002513/0.758, allocations: 0.8994 MB / 0.5205 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004274/0.7585, allocations: 138 kB / 0.5206 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/0.7585, allocations: 47.52 kB / 0.5206 GB, free: 10.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=111): time 4.008e-06/0.7585, allocations: 0 / 0.5206 GB, free: 10.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=127): time 0.01865/0.7772, allocations: 5.121 MB / 0.5256 GB, free: 5.152 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.7773, allocations: 64.72 kB / 0.5257 GB, free: 5.074 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002461/0.7798, allocations: 1.089 MB / 0.5268 GB, free: 3.977 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002052/0.78, allocations: 45.7 kB / 0.5268 GB, free: 3.926 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008044/0.7808, allocations: 0.848 MB / 0.5276 GB, free: 3.066 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005414/0.7814, allocations: 445.6 kB / 0.5281 GB, free: 2.625 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.7815, allocations: 24 kB / 0.5281 GB, free: 2.602 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002056/0.7817, allocations: 374.7 kB / 0.5284 GB, free: 2.227 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0017/0.7834, allocations: 0.6482 MB / 0.5291 GB, free: 1.578 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001999/0.7855, allocations: 0.965 MB / 0.53 GB, free: 500 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2727/1.058, allocations: 0.8055 MB / 0.5308 GB, free: 105.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/1.058, allocations: 3.75 kB / 0.5308 GB, free: 105.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006128/1.064, allocations: 2.194 MB / 0.533 GB, free: 105.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/1.064, allocations: 11.72 kB / 0.533 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.831e-05/1.064, allocations: 8.906 kB / 0.533 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001912/1.066, allocations: 0.4942 MB / 0.5335 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002531/1.069, allocations: 331 kB / 0.5338 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009425/1.078, allocations: 6.63 MB / 0.5402 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/1.08, allocations: 95.19 kB / 0.5403 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/1.081, allocations: 55.48 kB / 0.5404 GB, free: 101.5 MB / 410.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 () * 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.0003828/1.081, allocations: 189.6 kB / 0.5406 GB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003549/1.081, allocations: 151 kB / 0.5407 GB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005619/1.087, allocations: 2.093 MB / 0.5428 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/1.087, allocations: 14.58 kB / 0.5428 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/1.087, allocations: 5.5 kB / 0.5428 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.992e-05/1.087, allocations: 5.953 kB / 0.5428 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/1.099, allocations: 4.3 MB / 0.547 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/1.099, allocations: 2.281 kB / 0.547 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001982/1.101, allocations: 225.1 kB / 0.5472 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00245/1.103, allocations: 0.5481 MB / 0.5477 GB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001981/1.104, allocations: 32.66 kB / 0.5478 GB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0106/1.114, allocations: 8.188 MB / 0.5558 GB, free: 95.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/1.114, allocations: 3.938 kB / 0.5558 GB, free: 95.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00688/1.121, allocations: 3.164 MB / 0.5589 GB, free: 93.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/1.122, allocations: 369.6 kB / 0.5592 GB, free: 93.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003166/1.123, allocations: 35.39 kB / 0.5592 GB, free: 93.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/1.124, allocations: 75.12 kB / 0.5593 GB, free: 93.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003558/1.125, allocations: 102.3 kB / 0.5594 GB, free: 93.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/1.125, allocations: 36.28 kB / 0.5594 GB, free: 93.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001611/1.126, allocations: 0.8341 MB / 0.5603 GB, free: 93.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.823e-06/1.126, allocations: 0 / 0.5603 GB, free: 93.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002158/1.129, allocations: 494.2 kB / 0.5607 GB, free: 93.14 MB / 410.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 () * 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.0006316/1.129, allocations: 305.8 kB / 0.561 GB, free: 93.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004641/1.134, allocations: 2.304 MB / 0.5633 GB, free: 91.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.134, allocations: 0 / 0.5633 GB, free: 91.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003202/1.137, allocations: 1.561 MB / 0.5648 GB, free: 90.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002889/1.14, allocations: 383.1 kB / 0.5652 GB, free: 90.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008029/1.148, allocations: 3.526 MB / 0.5686 GB, free: 89.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001457/1.15, allocations: 1.674 MB / 0.5702 GB, free: 88.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007143/1.15, allocations: 112.1 kB / 0.5703 GB, free: 88.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/1.15, allocations: 0 / 0.5703 GB, free: 88.43 MB / 410.7 MB Notification: Performance of Templates: time 0.09003/1.24, allocations: 68.03 MB / 0.6368 GB, free: 40.21 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches