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.001466/0.001466, allocations: 179.1 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007969/0.0007969, allocations: 86.69 kB / 262.5 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.289e-05/1.293e-05, allocations: 4 kB / 315.5 MB, free: 22.69 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07607/0.0761, allocations: 47.58 MB / 363.1 MB, free: 7.051 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3182/0.3944, allocations: 103.5 MB / 466.6 MB, free: 8.426 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.3947, allocations: 86.02 kB / 466.6 MB, free: 8.383 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1073/0.502, allocations: 40.84 MB / 0.4956 GB, free: 5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.502, allocations: 4 kB / 0.4956 GB, free: 4.996 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001168/0.5021, allocations: 47.94 kB / 0.4956 GB, free: 4.949 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.00374/0.5059, allocations: 1.984 MB / 0.4976 GB, free: 2.914 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.5059, allocations: 12.03 kB / 0.4976 GB, free: 2.902 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006698/0.5066, allocations: 269.1 kB / 0.4978 GB, free: 2.637 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002301/0.5089, allocations: 1.364 MB / 0.4992 GB, free: 1.215 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.668e-05/0.509, allocations: 68 kB / 0.4992 GB, free: 1.148 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002382/0.5093, allocations: 119.9 kB / 0.4993 GB, free: 1.031 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002728/0.512, allocations: 1.737 MB / 0.501 GB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003186/0.5152, allocations: 2.105 MB / 0.5031 GB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.274e-05/0.5153, allocations: 3.984 kB / 0.5031 GB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.5154, allocations: 8 kB / 0.5031 GB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.732e-05/0.5155, allocations: 79.69 kB / 0.5032 GB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01032/0.5259, allocations: 7.461 MB / 0.5105 GB, free: 5.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.5275, allocations: 1.323 MB / 0.5118 GB, free: 3.973 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/0.5287, allocations: 0.8573 MB / 0.5126 GB, free: 3.109 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002646/0.529, allocations: 142.4 kB / 0.5127 GB, free: 2.949 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.529, allocations: 43.88 kB / 0.5128 GB, free: 2.898 MB / 394.7 MB Notification: Performance of pre-optimization done (n=111): time 2.605e-06/0.5291, allocations: 0 / 0.5128 GB, free: 2.898 MB / 394.7 MB Notification: Performance of matching and sorting (n=127): time 0.007185/0.5362, allocations: 4.22 MB / 0.5169 GB, free: 14.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.5363, allocations: 64.72 kB / 0.517 GB, free: 14.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.5375, allocations: 0.8975 MB / 0.5178 GB, free: 13.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.462e-05/0.5376, allocations: 25.7 kB / 0.5179 GB, free: 13.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005345/0.5381, allocations: 0.8845 MB / 0.5187 GB, free: 12.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003055/0.5384, allocations: 425.6 kB / 0.5191 GB, free: 12.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.819e-05/0.5385, allocations: 0 / 0.5191 GB, free: 12.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.5386, allocations: 361.9 kB / 0.5195 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008306/0.5395, allocations: 0.6286 MB / 0.5201 GB, free: 11.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.5405, allocations: 0.926 MB / 0.521 GB, free: 10.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.5416, allocations: 0.783 MB / 0.5218 GB, free: 9.457 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.5416, allocations: 4 kB / 0.5218 GB, free: 9.453 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003308/0.5449, allocations: 2.12 MB / 0.5238 GB, free: 7.309 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.545, allocations: 11.94 kB / 0.5238 GB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.545, allocations: 8 kB / 0.5239 GB, free: 7.289 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.5461, allocations: 0.4923 MB / 0.5243 GB, free: 6.781 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.5473, allocations: 323.5 kB / 0.5246 GB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1972/0.7446, allocations: 6.335 MB / 0.5308 GB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.746, allocations: 56.94 kB / 0.5309 GB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002795/0.7463, allocations: 57.3 kB / 0.5309 GB, free: 106.7 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.0003729/0.7467, allocations: 139.5 kB / 0.5311 GB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003994/0.7471, allocations: 138.9 kB / 0.5312 GB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003847/0.751, allocations: 1.967 MB / 0.5331 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.751, allocations: 12.88 kB / 0.5331 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.932e-05/0.751, allocations: 3.938 kB / 0.5331 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/0.7511, allocations: 9.359 kB / 0.5332 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007201/0.7583, allocations: 3.952 MB / 0.537 GB, free: 106 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.7583, allocations: 3.094 kB / 0.537 GB, free: 106 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009993/0.7593, allocations: 223.8 kB / 0.5372 GB, free: 106 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001382/0.7607, allocations: 0.5469 MB / 0.5378 GB, free: 106 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.212e-05/0.7608, allocations: 14.56 kB / 0.5378 GB, free: 106 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006902/0.7677, allocations: 7.833 MB / 0.5454 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.7678, allocations: 4.625 kB / 0.5454 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005003/0.7728, allocations: 3.043 MB / 0.5484 GB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008165/0.7736, allocations: 355.7 kB / 0.5487 GB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003752/0.774, allocations: 10.12 kB / 0.5488 GB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009729/0.775, allocations: 55.91 kB / 0.5488 GB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002635/0.7753, allocations: 108.4 kB / 0.5489 GB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.061e-05/0.7754, allocations: 35.45 kB / 0.5489 GB, free: 100.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009902/0.7764, allocations: 0.6707 MB / 0.5496 GB, free: 100.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7764, allocations: 1.406 kB / 0.5496 GB, free: 100.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001702/0.7781, allocations: 415.3 kB / 0.55 GB, free: 100.5 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.0005148/0.7786, allocations: 288.6 kB / 0.5503 GB, free: 100.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002702/0.7813, allocations: 2.193 MB / 0.5524 GB, free: 99.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.7813, allocations: 2.938 kB / 0.5524 GB, free: 99.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001648/0.783, allocations: 1.521 MB / 0.5539 GB, free: 99.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.7843, allocations: 299.7 kB / 0.5542 GB, free: 99.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004612/0.7889, allocations: 3.384 MB / 0.5575 GB, free: 98.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009971/0.79, allocations: 1.696 MB / 0.5591 GB, free: 97.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008815/0.7908, allocations: 308.3 kB / 0.5594 GB, free: 97.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002482/0.7911, allocations: 91.66 kB / 0.5595 GB, free: 97.55 MB / 410.7 MB Notification: Performance of SimCode: time 6.12e-07/0.7911, allocations: 0 / 0.5595 GB, free: 97.55 MB / 410.7 MB Notification: Performance of Templates: time 0.02793/0.819, allocations: 20.2 MB / 0.5792 GB, free: 96.32 MB / 410.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