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") [: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.0009752/0.0009753, allocations: 170.3 kB / 8.472 MB, free: 1.844 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.166/1.166, allocations: 205.2 MB / 214.1 MB, free: 5.074 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.0009361/0.000936, allocations: 83.31 kB / 262.1 MB, free: 5.117 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.886e-06/8.997e-06, allocations: 0 / 315 MB, free: 41.47 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1059, allocations: 47.58 MB / 362.5 MB, free: 9.938 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2442/0.3501, allocations: 102.9 MB / 465.5 MB, free: 4.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.3504, allocations: 82.8 kB / 465.5 MB, free: 4.508 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.1148/0.4652, allocations: 43.8 MB / 0.4974 GB, free: 1.625 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001859/0.4654, allocations: 51.94 kB / 0.4975 GB, free: 1.574 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.00515/0.4705, allocations: 2.189 MB / 0.4996 GB, free: 15.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.4706, allocations: 12.02 kB / 0.4996 GB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.4717, allocations: 300.8 kB / 0.4999 GB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00333/0.4751, allocations: 1.542 MB / 0.5014 GB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.072e-05/0.4752, allocations: 67.91 kB / 0.5015 GB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003542/0.4755, allocations: 120 kB / 0.5016 GB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00349/0.479, allocations: 2.07 MB / 0.5036 GB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003772/0.4828, allocations: 2.391 MB / 0.5059 GB, free: 8.637 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.687e-05/0.4829, allocations: 11.98 kB / 0.5059 GB, free: 8.625 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001655/0.4831, allocations: 0 / 0.5059 GB, free: 8.625 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.601e-05/0.4832, allocations: 91.94 kB / 0.506 GB, free: 8.535 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01214/0.4953, allocations: 8.099 MB / 0.5139 GB, free: 224 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.4965, allocations: 0.8093 MB / 0.5147 GB, free: 15.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/0.4978, allocations: 0.9416 MB / 0.5157 GB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002705/0.4981, allocations: 138 kB / 0.5158 GB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.4982, allocations: 43.56 kB / 0.5158 GB, free: 14.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 2.865e-06/0.4982, allocations: 4 kB / 0.5158 GB, free: 14.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=123): time 0.007936/0.5061, allocations: 4.409 MB / 0.5201 GB, free: 9.777 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.5062, allocations: 68.34 kB / 0.5202 GB, free: 9.695 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.5077, allocations: 1.108 MB / 0.5213 GB, free: 8.582 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.101e-05/0.5078, allocations: 25.7 kB / 0.5213 GB, free: 8.551 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004314/0.5082, allocations: 0.7678 MB / 0.5221 GB, free: 7.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003122/0.5085, allocations: 409.8 kB / 0.5224 GB, free: 7.363 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.95e-05/0.5086, allocations: 4 kB / 0.5224 GB, free: 7.359 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.5087, allocations: 357.9 kB / 0.5228 GB, free: 7.004 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009392/0.5097, allocations: 0.6989 MB / 0.5235 GB, free: 6.305 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.5108, allocations: 0.9916 MB / 0.5244 GB, free: 5.191 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.512, allocations: 0.8455 MB / 0.5253 GB, free: 4.344 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.512, allocations: 4 kB / 0.5253 GB, free: 4.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003405/0.5154, allocations: 2.183 MB / 0.5274 GB, free: 2.137 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.5154, allocations: 4 kB / 0.5274 GB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.5154, allocations: 15.94 kB / 0.5274 GB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000993/0.5164, allocations: 413.5 kB / 0.5278 GB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.5178, allocations: 339.5 kB / 0.5281 GB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004372/0.5222, allocations: 4.269 MB / 0.5323 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.5235, allocations: 55.84 kB / 0.5324 GB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001767/0.5237, allocations: 52 kB / 0.5324 GB, free: 12.76 MB / 394.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 () * 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.0002837/0.524, allocations: 140.6 kB / 0.5325 GB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003813/0.5243, allocations: 154.1 kB / 0.5327 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003458/0.5278, allocations: 2.036 MB / 0.5347 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.5278, allocations: 12 kB / 0.5347 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.5279, allocations: 4 kB / 0.5347 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.5279, allocations: 11.95 kB / 0.5347 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007495/0.5354, allocations: 4.205 MB / 0.5388 GB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.5354, allocations: 4 kB / 0.5388 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/0.5365, allocations: 232 kB / 0.539 GB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001292/0.5378, allocations: 462.9 kB / 0.5395 GB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.395e-05/0.5379, allocations: 11.98 kB / 0.5395 GB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005645/0.5436, allocations: 5.738 MB / 0.5451 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.5436, allocations: 7.938 kB / 0.5451 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00474/0.5484, allocations: 3.245 MB / 0.5483 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008971/0.5493, allocations: 387.1 kB / 0.5486 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003761/0.5497, allocations: 11.98 kB / 0.5487 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009563/0.5506, allocations: 51.95 kB / 0.5487 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/0.5508, allocations: 80.88 kB / 0.5488 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.551, allocations: 35.98 kB / 0.5488 GB, free: 11.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.001401/0.5524, allocations: 0.8371 MB / 0.5496 GB, free: 10.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001601/0.554, allocations: 416 kB / 0.55 GB, free: 10.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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.0005506/0.5545, allocations: 297.3 kB / 0.5503 GB, free: 9.816 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003166/0.5577, allocations: 2.119 MB / 0.5524 GB, free: 7.637 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.5577, allocations: 4.625 kB / 0.5524 GB, free: 7.633 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002023/0.5598, allocations: 1.393 MB / 0.5537 GB, free: 6.188 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.5613, allocations: 304.6 kB / 0.554 GB, free: 5.891 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006916/0.5682, allocations: 3.665 MB / 0.5576 GB, free: 2.141 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002042/0.5703, allocations: 1.962 MB / 0.5595 GB, free: 148 kB / 410.7 MB Notification: Performance of SimCode: time 3.3e-07/0.5703, allocations: 0 / 0.5595 GB, free: 148 kB / 410.7 MB Notification: Performance of Templates: time 0.1485/0.7188, allocations: 21.6 MB / 0.5806 GB, free: 160.7 MB / 426.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/jenkins/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