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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009836/0.0009839, allocations: 179.5 kB / 8.48 MB, free: 1.883 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.145/1.145, allocations: 205.2 MB / 214.1 MB, free: 5.453 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.0008395/0.0008397, allocations: 91.64 kB / 262.1 MB, free: 5.508 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.863e-06/6.973e-06, allocations: 4 kB / 315 MB, free: 41.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06446/0.06449, allocations: 47.57 MB / 362.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2287/0.2933, allocations: 103.2 MB / 465.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.2936, allocations: 87.38 kB / 465.8 MB, free: 4.676 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.1052/0.3988, allocations: 40.66 MB / 0.4946 GB, free: 4.652 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001173/0.3989, allocations: 47.94 kB / 0.4946 GB, free: 4.605 MB / 346.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.003669/0.4026, allocations: 1.988 MB / 0.4966 GB, free: 2.695 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.4027, allocations: 8.031 kB / 0.4966 GB, free: 2.688 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007106/0.4034, allocations: 277.8 kB / 0.4968 GB, free: 2.414 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002476/0.4059, allocations: 1.378 MB / 0.4982 GB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.841e-05/0.4059, allocations: 63.98 kB / 0.4982 GB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002426/0.4062, allocations: 115.9 kB / 0.4984 GB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002942/0.4091, allocations: 1.773 MB / 0.5001 GB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003312/0.4125, allocations: 2.125 MB / 0.5022 GB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.389e-05/0.4125, allocations: 4 kB / 0.5022 GB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/0.4127, allocations: 4 kB / 0.5022 GB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.493e-05/0.4128, allocations: 87.67 kB / 0.5023 GB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01166/0.4245, allocations: 7.491 MB / 0.5096 GB, free: 5.055 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.4257, allocations: 0.8306 MB / 0.5104 GB, free: 4.219 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.4271, allocations: 0.9104 MB / 0.5113 GB, free: 3.305 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002934/0.4274, allocations: 130.1 kB / 0.5114 GB, free: 3.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.4275, allocations: 51.5 kB / 0.5114 GB, free: 3.102 MB / 362.7 MB Notification: Performance of pre-optimization done (n=111): time 3.276e-06/0.4275, allocations: 0 / 0.5114 GB, free: 3.102 MB / 362.7 MB Notification: Performance of matching and sorting (n=127): time 0.007751/0.4352, allocations: 4.256 MB / 0.5156 GB, free: 14.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.4353, allocations: 64.72 kB / 0.5157 GB, free: 14.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.4365, allocations: 0.9014 MB / 0.5165 GB, free: 13.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.138e-05/0.4366, allocations: 25.7 kB / 0.5166 GB, free: 13.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003665/0.4369, allocations: 0.7048 MB / 0.5173 GB, free: 13.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002962/0.4372, allocations: 433.6 kB / 0.5177 GB, free: 12.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.985e-05/0.4373, allocations: 0 / 0.5177 GB, free: 12.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.4374, allocations: 365.8 kB / 0.518 GB, free: 12.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008866/0.4383, allocations: 0.6404 MB / 0.5186 GB, free: 11.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.4394, allocations: 0.9455 MB / 0.5196 GB, free: 10.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.4405, allocations: 0.7987 MB / 0.5203 GB, free: 9.734 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.4405, allocations: 0 / 0.5203 GB, free: 9.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003413/0.4439, allocations: 2.164 MB / 0.5225 GB, free: 7.543 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.444, allocations: 4 kB / 0.5225 GB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.444, allocations: 12 kB / 0.5225 GB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.4452, allocations: 0.4923 MB / 0.523 GB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/0.4465, allocations: 327.5 kB / 0.5233 GB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005926/0.4525, allocations: 6.139 MB / 0.5293 GB, free: 216 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.4538, allocations: 43.86 kB / 0.5293 GB, free: 172 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.4539, allocations: 56 kB / 0.5294 GB, free: 116 kB / 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 () * 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.0002912/0.4542, allocations: 148.7 kB / 0.5295 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002329/0.4544, allocations: 142.3 kB / 0.5296 GB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003388/0.4578, allocations: 1.989 MB / 0.5316 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.4579, allocations: 12 kB / 0.5316 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.4579, allocations: 4 kB / 0.5316 GB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.4579, allocations: 11.98 kB / 0.5316 GB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006589/0.4645, allocations: 3.98 MB / 0.5355 GB, free: 9.703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.4645, allocations: 4.266 kB / 0.5355 GB, free: 9.699 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/0.4656, allocations: 223.7 kB / 0.5357 GB, free: 9.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001472/0.4671, allocations: 0.5386 MB / 0.5362 GB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.856e-05/0.4672, allocations: 15.98 kB / 0.5362 GB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007181/0.4744, allocations: 7.61 MB / 0.5437 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.4745, allocations: 4 kB / 0.5437 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00444/0.4789, allocations: 3.101 MB / 0.5467 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000734/0.4797, allocations: 355.3 kB / 0.5471 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/0.4799, allocations: 15.89 kB / 0.5471 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008085/0.4807, allocations: 51.95 kB / 0.5471 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/0.4809, allocations: 64.98 kB / 0.5472 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.621e-05/0.481, allocations: 43.97 kB / 0.5472 GB, free: 13.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0009469/0.482, allocations: 0.6807 MB / 0.5479 GB, free: 12.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001403/0.4834, allocations: 404.1 kB / 0.5483 GB, free: 12.01 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.0004524/0.4838, allocations: 289 kB / 0.5485 GB, free: 11.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002954/0.4868, allocations: 2.161 MB / 0.5507 GB, free: 9.488 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4868, allocations: 0 / 0.5507 GB, free: 9.488 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001963/0.4888, allocations: 1.432 MB / 0.5521 GB, free: 7.996 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.4902, allocations: 292.3 kB / 0.5523 GB, free: 7.707 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006/0.4962, allocations: 3.446 MB / 0.5557 GB, free: 4.184 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001632/0.4979, allocations: 1.782 MB / 0.5574 GB, free: 2.367 MB / 410.7 MB Notification: Performance of SimCode: time 7.52e-07/0.4979, allocations: 0 / 0.5574 GB, free: 2.367 MB / 410.7 MB Notification: Performance of Templates: time 0.1382/0.6361, allocations: 21.54 MB / 0.5785 GB, free: 163.5 MB / 426.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