Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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_Initialize,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",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.00108/0.00108, allocations: 179.3 kB / 8.477 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.059/1.059, allocations: 205.2 MB / 214.1 MB, free: 5.098 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.0008503/0.0008503, allocations: 82.31 kB / 262.1 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1496/0.1505, allocations: 52.98 MB / 315.1 MB, free: 41.38 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06194/0.2125, allocations: 47.57 MB / 362.6 MB, free: 9.855 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2208/0.4333, allocations: 101.8 MB / 464.5 MB, free: 5.023 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/0.4335, allocations: 90.06 kB / 464.6 MB, free: 5.008 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.111/0.5446, allocations: 42.39 MB / 0.4951 GB, free: 3.742 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.5446, allocations: 8 kB / 0.4951 GB, free: 3.734 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.5458, allocations: 265.1 kB / 0.4953 GB, free: 3.473 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003094/0.5489, allocations: 1.423 MB / 0.4967 GB, free: 2.281 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.415e-05/0.549, allocations: 59.98 kB / 0.4968 GB, free: 2.223 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003778/0.5494, allocations: 111.9 kB / 0.4969 GB, free: 2.113 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003027/0.5524, allocations: 1.784 MB / 0.4986 GB, free: 336 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003245/0.5557, allocations: 2.1 MB / 0.5007 GB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.207e-05/0.5557, allocations: 4 kB / 0.5007 GB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/0.5559, allocations: 4 kB / 0.5007 GB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.953e-05/0.556, allocations: 91.42 kB / 0.5008 GB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01076/0.5667, allocations: 7.175 MB / 0.5078 GB, free: 6.672 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.568, allocations: 0.7192 MB / 0.5085 GB, free: 5.941 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.569, allocations: 0.7476 MB / 0.5092 GB, free: 5.191 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002601/0.5693, allocations: 133.8 kB / 0.5093 GB, free: 5.039 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.5694, allocations: 47.34 kB / 0.5094 GB, free: 4.984 MB / 362.7 MB Notification: Performance of pre-optimization done (n=87): time 2.504e-06/0.5694, allocations: 0 / 0.5094 GB, free: 4.984 MB / 362.7 MB Notification: Performance of matching and sorting (n=103): time 0.007135/0.5765, allocations: 3.96 MB / 0.5133 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.5766, allocations: 68.34 kB / 0.5133 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.578, allocations: 1.001 MB / 0.5143 GB, free: 15.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.381e-05/0.5781, allocations: 29.7 kB / 0.5143 GB, free: 15.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004081/0.5785, allocations: 0.7163 MB / 0.515 GB, free: 15.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.5788, allocations: 346.8 kB / 0.5154 GB, free: 14.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.875e-05/0.5789, allocations: 0 / 0.5154 GB, free: 14.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.579, allocations: 361.8 kB / 0.5157 GB, free: 14.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008229/0.5798, allocations: 0.6039 MB / 0.5163 GB, free: 13.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.5809, allocations: 0.8805 MB / 0.5171 GB, free: 12.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.5819, allocations: 0.7446 MB / 0.5179 GB, free: 12.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.5819, allocations: 4 kB / 0.5179 GB, free: 12.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003731/0.5857, allocations: 2.272 MB / 0.5201 GB, free: 9.758 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.5857, allocations: 4 kB / 0.5201 GB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.5857, allocations: 8 kB / 0.5201 GB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001954/0.5877, allocations: 0.7703 MB / 0.5209 GB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009147/0.5886, allocations: 235.6 kB / 0.5211 GB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009568/0.5982, allocations: 7.783 MB / 0.5287 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009772/0.5992, allocations: 48.08 kB / 0.5287 GB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.5993, allocations: 44 kB / 0.5288 GB, free: 0.625 MB / 378.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002175/0.5995, allocations: 140.6 kB / 0.5289 GB, free: 492 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/0.5998, allocations: 130.4 kB / 0.529 GB, free: 360 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0029/0.6027, allocations: 1.812 MB / 0.5308 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.6027, allocations: 12 kB / 0.5308 GB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.6027, allocations: 4 kB / 0.5308 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.6027, allocations: 7.984 kB / 0.5308 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005881/0.6086, allocations: 3.678 MB / 0.5344 GB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.6086, allocations: 0 / 0.5344 GB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008939/0.6095, allocations: 196 kB / 0.5346 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001241/0.6108, allocations: 462.8 kB / 0.535 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-05/0.6109, allocations: 15.98 kB / 0.5351 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005461/0.6163, allocations: 5.721 MB / 0.5406 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.6164, allocations: 11.84 kB / 0.5407 GB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003729/0.6201, allocations: 2.801 MB / 0.5434 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004952/0.6251, allocations: 4.1 MB / 0.5474 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006575/0.6257, allocations: 347.4 kB / 0.5477 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002118/0.626, allocations: 4 kB / 0.5477 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007682/0.6267, allocations: 51.94 kB / 0.5478 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.6269, allocations: 68.59 kB / 0.5478 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.403e-05/0.627, allocations: 31.98 kB / 0.5479 GB, free: 12.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.001036/0.628, allocations: 0.7596 MB / 0.5486 GB, free: 11.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001946/0.63, allocations: 420 kB / 0.549 GB, free: 11.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 83 * 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.0004205/0.6304, allocations: 269.5 kB / 0.5493 GB, free: 10.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002745/0.6332, allocations: 1.86 MB / 0.5511 GB, free: 9.074 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6332, allocations: 0 / 0.5511 GB, free: 9.074 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001754/0.635, allocations: 1.237 MB / 0.5523 GB, free: 7.785 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.6362, allocations: 264.2 kB / 0.5526 GB, free: 7.527 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005405/0.6416, allocations: 3.278 MB / 0.5558 GB, free: 4.172 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001562/0.6432, allocations: 1.82 MB / 0.5575 GB, free: 2.324 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6432, allocations: 0 / 0.5575 GB, free: 2.324 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1)