Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.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_Conveyor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor",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.001087/0.001087, allocations: 179.4 kB / 8.473 MB, free: 0.5234 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.056/1.056, allocations: 205.2 MB / 214.1 MB, free: 8.516 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008505/0.0008508, allocations: 92.3 kB / 262.1 MB, free: 5.117 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 0.08214/0.08302, allocations: 53 MB / 315.1 MB, free: 1.887 MB / 258.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07253/0.1556, allocations: 47.56 MB / 362.6 MB, free: 2.207 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2084/0.364, allocations: 106.5 MB / 469.1 MB, free: 13.42 MB / 354.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/0.3642, allocations: 88 kB / 469.2 MB, free: 13.37 MB / 354.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.1201/0.4844, allocations: 45.82 MB / 0.503 GB, free: 2.355 MB / 386.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.4844, allocations: 8 kB / 0.503 GB, free: 2.348 MB / 386.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.4854, allocations: 273 kB / 0.5032 GB, free: 2.078 MB / 386.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003138/0.4886, allocations: 1.443 MB / 0.5046 GB, free: 0.5781 MB / 386.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.712e-05/0.4887, allocations: 64 kB / 0.5047 GB, free: 0.5156 MB / 386.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003443/0.4891, allocations: 115.9 kB / 0.5048 GB, free: 412 kB / 386.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003037/0.4921, allocations: 1.769 MB / 0.5065 GB, free: 14.63 MB / 402.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003328/0.4954, allocations: 2.129 MB / 0.5086 GB, free: 12.43 MB / 402.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.251e-05/0.4955, allocations: 7.906 kB / 0.5086 GB, free: 12.42 MB / 402.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/0.4957, allocations: 4 kB / 0.5086 GB, free: 12.41 MB / 402.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.643e-05/0.4958, allocations: 87.67 kB / 0.5087 GB, free: 12.33 MB / 402.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/0.5067, allocations: 7.092 MB / 0.5156 GB, free: 5.047 MB / 402.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.5078, allocations: 0.7668 MB / 0.5164 GB, free: 4.277 MB / 402.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.509, allocations: 0.7571 MB / 0.5171 GB, free: 3.52 MB / 402.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002713/0.5092, allocations: 130.1 kB / 0.5172 GB, free: 3.367 MB / 402.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008793/0.5101, allocations: 0.6625 MB / 0.5179 GB, free: 2.672 MB / 402.8 MB Notification: Performance of pre-optimization done (n=102): time 2.755e-06/0.5101, allocations: 0 / 0.5179 GB, free: 2.672 MB / 402.8 MB Notification: Performance of matching and sorting (n=130): time 0.1409/0.651, allocations: 6.076 MB / 0.5238 GB, free: 65.16 MB / 402.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.6511, allocations: 201.8 kB / 0.524 GB, free: 64.93 MB / 402.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.6523, allocations: 1.016 MB / 0.525 GB, free: 64.78 MB / 402.8 MB Notification: Performance of collectPreVariables (initialization): time 7.901e-05/0.6524, allocations: 28.77 kB / 0.525 GB, free: 64.75 MB / 402.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004259/0.6528, allocations: 0.7387 MB / 0.5258 GB, free: 64.43 MB / 402.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.653, allocations: 436.9 kB / 0.5262 GB, free: 64.2 MB / 402.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.541e-05/0.6531, allocations: 0 / 0.5262 GB, free: 64.2 MB / 402.8 MB Notification: Performance of setup shared object (initialization): time 6.997e-05/0.6532, allocations: 363.1 kB / 0.5265 GB, free: 63.89 MB / 402.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007773/0.654, allocations: 0.6582 MB / 0.5272 GB, free: 63.89 MB / 402.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008763/0.6549, allocations: 1.008 MB / 0.5282 GB, free: 63.51 MB / 402.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009513/0.6558, allocations: 0.8243 MB / 0.529 GB, free: 63.5 MB / 402.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.6558, allocations: 5.656 kB / 0.529 GB, free: 63.5 MB / 402.8 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.003302/0.6591, allocations: 2.345 MB / 0.5313 GB, free: 63.32 MB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.6592, allocations: 7.25 kB / 0.5313 GB, free: 63.32 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.6592, allocations: 9.438 kB / 0.5313 GB, free: 63.32 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/0.6606, allocations: 0.6476 MB / 0.5319 GB, free: 63.29 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.6617, allocations: 295.3 kB / 0.5322 GB, free: 63.29 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005583/0.6673, allocations: 5.879 MB / 0.5379 GB, free: 60.81 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.6686, allocations: 59.62 kB / 0.538 GB, free: 60.81 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/0.6688, allocations: 58.22 kB / 0.538 GB, free: 60.81 MB / 402.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 145 * 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 {(5,84.0%) 23,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000259/0.6691, allocations: 140.7 kB / 0.5382 GB, free: 60.7 MB / 402.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002248/0.6693, allocations: 144.4 kB / 0.5383 GB, free: 60.63 MB / 402.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003342/0.6727, allocations: 2.228 MB / 0.5405 GB, free: 60.49 MB / 402.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.6727, allocations: 16.75 kB / 0.5405 GB, free: 60.49 MB / 402.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.303e-05/0.6727, allocations: 7.219 kB / 0.5405 GB, free: 60.49 MB / 402.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.6727, allocations: 6.328 kB / 0.5405 GB, free: 60.49 MB / 402.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006225/0.679, allocations: 4.493 MB / 0.5449 GB, free: 59.9 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.679, allocations: 3.625 kB / 0.5449 GB, free: 59.9 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007612/0.6798, allocations: 186.4 kB / 0.5451 GB, free: 59.9 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001782/0.6815, allocations: 0.7282 MB / 0.5458 GB, free: 59.86 MB / 402.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-05/0.6817, allocations: 13.73 kB / 0.5458 GB, free: 59.86 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006616/0.6883, allocations: 7.491 MB / 0.5531 GB, free: 56.19 MB / 402.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.6883, allocations: 3.531 kB / 0.5531 GB, free: 56.19 MB / 402.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004106/0.6924, allocations: 3.334 MB / 0.5564 GB, free: 55.69 MB / 402.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005069/0.6975, allocations: 4.753 MB / 0.561 GB, free: 54.8 MB / 402.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006586/0.6982, allocations: 373 kB / 0.5614 GB, free: 54.63 MB / 402.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002375/0.6984, allocations: 14.62 kB / 0.5614 GB, free: 54.63 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007952/0.6992, allocations: 44.92 kB / 0.5614 GB, free: 54.63 MB / 402.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.6994, allocations: 70.08 kB / 0.5615 GB, free: 54.63 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.451e-05/0.6995, allocations: 39.59 kB / 0.5615 GB, free: 54.63 MB / 402.8 MB Notification: Performance of sort global known variables: time 0.0009654/0.7004, allocations: 0.7665 MB / 0.5623 GB, free: 54.52 MB / 402.8 MB Notification: Performance of remove unused functions: time 0.001895/0.7024, allocations: 468 kB / 0.5627 GB, free: 54.52 MB / 402.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(7,63.3%) 21,(1,100.0%) 3,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008633/0.7032, allocations: 496.7 kB / 0.5632 GB, free: 54.38 MB / 402.8 MB Notification: Performance of simCode: created initialization part: time 0.003102/0.7063, allocations: 2.182 MB / 0.5653 GB, free: 53.52 MB / 402.8 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7064, allocations: 1.062 kB / 0.5653 GB, free: 53.52 MB / 402.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002183/0.7085, allocations: 1.452 MB / 0.5668 GB, free: 52.8 MB / 402.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.7099, allocations: 284.5 kB / 0.567 GB, free: 52.72 MB / 402.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00603/0.716, allocations: 3.493 MB / 0.5704 GB, free: 51.29 MB / 402.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001541/0.7175, allocations: 1.867 MB / 0.5723 GB, free: 50.38 MB / 402.8 MB Notification: Performance of SimCode: time 8.41e-07/0.7175, allocations: 0 / 0.5723 GB, free: 50.38 MB / 402.8 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1)