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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) [: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.0009742/0.0009742, allocations: 176.1 kB / 8.476 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.039/1.039, allocations: 205.2 MB / 214.1 MB, free: 1.805 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.000854/0.0008539, allocations: 79.41 kB / 262.1 MB, free: 1.762 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1389/0.1398, allocations: 52.98 MB / 315.1 MB, free: 22.91 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07167/0.2115, allocations: 47.57 MB / 362.6 MB, free: 7.281 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2248/0.4364, allocations: 103.2 MB / 465.8 MB, free: 8.547 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/0.4366, allocations: 86.89 kB / 465.9 MB, free: 8.504 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.1202/0.5568, allocations: 46.04 MB / 0.5 GB, free: 104 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.5568, allocations: 8 kB / 0.5 GB, free: 96 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.5581, allocations: 296.9 kB / 0.5003 GB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003197/0.5614, allocations: 1.546 MB / 0.5018 GB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.386e-05/0.5615, allocations: 68 kB / 0.5018 GB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003025/0.5618, allocations: 127.9 kB / 0.502 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003551/0.5653, allocations: 2.062 MB / 0.504 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00374/0.5691, allocations: 2.395 MB / 0.5063 GB, free: 9.406 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.407e-05/0.5692, allocations: 8 kB / 0.5063 GB, free: 9.398 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/0.5693, allocations: 7.984 kB / 0.5063 GB, free: 9.391 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.478e-05/0.5694, allocations: 87.94 kB / 0.5064 GB, free: 9.305 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01317/0.5826, allocations: 8.1 MB / 0.5143 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.5838, allocations: 0.806 MB / 0.5151 GB, free: 180 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/0.5852, allocations: 0.9456 MB / 0.516 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002732/0.5855, allocations: 137.9 kB / 0.5162 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.5855, allocations: 47.56 kB / 0.5162 GB, free: 15.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=107): time 3.798e-06/0.5855, allocations: 4 kB / 0.5162 GB, free: 15.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=123): time 0.008122/0.5936, allocations: 4.407 MB / 0.5205 GB, free: 10.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.5937, allocations: 64.41 kB / 0.5206 GB, free: 10.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/0.5953, allocations: 1.104 MB / 0.5217 GB, free: 9.352 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.304e-05/0.5954, allocations: 25.7 kB / 0.5217 GB, free: 9.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000423/0.5959, allocations: 0.7717 MB / 0.5224 GB, free: 8.535 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003003/0.5962, allocations: 405.9 kB / 0.5228 GB, free: 8.133 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.606e-05/0.5963, allocations: 3.938 kB / 0.5228 GB, free: 8.129 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.5964, allocations: 361.9 kB / 0.5232 GB, free: 7.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009446/0.5973, allocations: 0.7028 MB / 0.5239 GB, free: 7.066 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.5985, allocations: 0.9915 MB / 0.5248 GB, free: 5.953 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.5997, allocations: 0.8416 MB / 0.5256 GB, free: 5.109 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.5997, allocations: 4 kB / 0.5256 GB, free: 5.105 MB / 410.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003437/0.6031, allocations: 2.195 MB / 0.5278 GB, free: 2.891 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.6031, allocations: 4 kB / 0.5278 GB, free: 2.887 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.6032, allocations: 8 kB / 0.5278 GB, free: 2.879 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009651/0.6041, allocations: 411.2 kB / 0.5282 GB, free: 2.465 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.6055, allocations: 331.5 kB / 0.5285 GB, free: 2.141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.104/0.7095, allocations: 4.265 MB / 0.5327 GB, free: 149.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.7107, allocations: 51.52 kB / 0.5327 GB, free: 149.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.7108, allocations: 59.94 kB / 0.5328 GB, free: 149.7 MB / 410.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.0003574/0.7112, allocations: 139.2 kB / 0.5329 GB, free: 149.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002919/0.7115, allocations: 148.2 kB / 0.5331 GB, free: 149.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003457/0.715, allocations: 2.035 MB / 0.535 GB, free: 149.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.715, allocations: 11.22 kB / 0.5351 GB, free: 149.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.715, allocations: 4.594 kB / 0.5351 GB, free: 149.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.715, allocations: 9.469 kB / 0.5351 GB, free: 149.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00679/0.7218, allocations: 4.209 MB / 0.5392 GB, free: 149.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.7218, allocations: 3.375 kB / 0.5392 GB, free: 149.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/0.7231, allocations: 233.2 kB / 0.5394 GB, free: 149.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001131/0.7242, allocations: 460.2 kB / 0.5398 GB, free: 149.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.323e-05/0.7243, allocations: 12.44 kB / 0.5399 GB, free: 149.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004186/0.7285, allocations: 5.73 MB / 0.5455 GB, free: 145.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.7286, allocations: 3.875 kB / 0.5455 GB, free: 145.5 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003581/0.7321, allocations: 3.243 MB / 0.5486 GB, free: 145.1 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004589/0.7367, allocations: 4.691 MB / 0.5532 GB, free: 144.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007453/0.7375, allocations: 391.3 kB / 0.5536 GB, free: 144.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003352/0.7378, allocations: 6.594 kB / 0.5536 GB, free: 144.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008769/0.7387, allocations: 54.86 kB / 0.5536 GB, free: 144.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001818/0.7389, allocations: 86.83 kB / 0.5537 GB, free: 144 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.271e-05/0.739, allocations: 36.12 kB / 0.5538 GB, free: 144 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.001099/0.7401, allocations: 0.8375 MB / 0.5546 GB, free: 143.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001992/0.7421, allocations: 432.7 kB / 0.555 GB, free: 143.9 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.0004139/0.7425, allocations: 281.4 kB / 0.5553 GB, free: 143.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002518/0.7451, allocations: 2.135 MB / 0.5573 GB, free: 143.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.7451, allocations: 6.5 kB / 0.5573 GB, free: 143.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001633/0.7467, allocations: 1.382 MB / 0.5587 GB, free: 143 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.7482, allocations: 313.6 kB / 0.559 GB, free: 143 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0062/0.7544, allocations: 3.672 MB / 0.5626 GB, free: 142.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001734/0.7561, allocations: 1.991 MB / 0.5645 GB, free: 141.2 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.7561, allocations: 0 / 0.5645 GB, free: 141.2 MB / 410.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1)