Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_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 trunk/package.mo): time 0.001115/0.001115, allocations: 198.8 kB / 8.538 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.172/1.172, allocations: 225.5 MB / 234.4 MB, free: 3.375 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009127/0.0009128, allocations: 96.5 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1004/0.1013, allocations: 56.91 MB / 343.2 MB, free: 8.609 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09228/0.1936, allocations: 51.47 MB / 394.7 MB, free: 5.09 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2324/0.426, allocations: 103.1 MB / 497.9 MB, free: 6.559 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.4264, allocations: 83.7 kB / 497.9 MB, free: 6.516 MB / 362.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.1081/0.5345, allocations: 42.63 MB / 0.5279 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.5346, allocations: 8 kB / 0.5279 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.5357, allocations: 305.1 kB / 0.5282 GB, free: 472 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002598/0.5383, allocations: 1.427 MB / 0.5296 GB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.798e-05/0.5384, allocations: 59.98 kB / 0.5297 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002379/0.5386, allocations: 107.9 kB / 0.5298 GB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002828/0.5414, allocations: 1.78 MB / 0.5315 GB, free: 13.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003173/0.5446, allocations: 2.092 MB / 0.5335 GB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.972e-05/0.5447, allocations: 4 kB / 0.5335 GB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/0.5448, allocations: 3.984 kB / 0.5335 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-05/0.5449, allocations: 87.34 kB / 0.5336 GB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01099/0.5559, allocations: 7.173 MB / 0.5406 GB, free: 3.398 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.5572, allocations: 0.7228 MB / 0.5413 GB, free: 2.664 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.5582, allocations: 0.7522 MB / 0.5421 GB, free: 1.906 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000254/0.5585, allocations: 133.8 kB / 0.5422 GB, free: 1.758 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.5585, allocations: 43.34 kB / 0.5422 GB, free: 1.707 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 2.715e-06/0.5585, allocations: 3.938 kB / 0.5422 GB, free: 1.703 MB / 410.7 MB Notification: Performance of matching and sorting (n=103): time 0.007425/0.566, allocations: 3.963 MB / 0.5461 GB, free: 13.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.566, allocations: 68.39 kB / 0.5462 GB, free: 13.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.5674, allocations: 1.001 MB / 0.5472 GB, free: 12.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.928e-05/0.5674, allocations: 25.7 kB / 0.5472 GB, free: 12.56 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000446/0.5679, allocations: 0.7202 MB / 0.5479 GB, free: 11.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/0.5682, allocations: 350.8 kB / 0.5482 GB, free: 11.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.5682, allocations: 0 / 0.5482 GB, free: 11.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.5684, allocations: 353.9 kB / 0.5486 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008236/0.5692, allocations: 0.6 MB / 0.5491 GB, free: 10.53 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.5703, allocations: 0.8883 MB / 0.55 GB, free: 9.523 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.5713, allocations: 0.7446 MB / 0.5507 GB, free: 8.773 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.5713, allocations: 4 kB / 0.5507 GB, free: 8.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003889/0.5752, allocations: 2.264 MB / 0.553 GB, free: 6.492 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.5752, allocations: 4 kB / 0.553 GB, free: 6.488 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.5752, allocations: 12 kB / 0.553 GB, free: 6.477 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002027/0.5773, allocations: 0.7628 MB / 0.5537 GB, free: 5.707 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009447/0.5782, allocations: 239.6 kB / 0.5539 GB, free: 5.473 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009985/0.5882, allocations: 7.782 MB / 0.5615 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.5893, allocations: 56 kB / 0.5616 GB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.5895, allocations: 51.94 kB / 0.5616 GB, free: 13.35 MB / 442.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.0002215/0.5897, allocations: 125.4 kB / 0.5618 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/0.5899, allocations: 130.4 kB / 0.5619 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003098/0.593, allocations: 1.816 MB / 0.5637 GB, free: 11.26 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.5931, allocations: 12 kB / 0.5637 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.5931, allocations: 8 kB / 0.5637 GB, free: 11.24 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.5931, allocations: 3.984 kB / 0.5637 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006144/0.5992, allocations: 3.674 MB / 0.5673 GB, free: 7.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.5993, allocations: 0 / 0.5673 GB, free: 7.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009365/0.6002, allocations: 188 kB / 0.5675 GB, free: 7.297 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/0.6015, allocations: 466.8 kB / 0.5679 GB, free: 6.828 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.501e-05/0.6016, allocations: 11.98 kB / 0.5679 GB, free: 6.816 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005601/0.6072, allocations: 5.731 MB / 0.5735 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.6072, allocations: 4 kB / 0.5735 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.111/0.7183, allocations: 2.797 MB / 0.5762 GB, free: 147.3 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003932/0.7222, allocations: 4.102 MB / 0.5802 GB, free: 146.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005285/0.7228, allocations: 343.6 kB / 0.5806 GB, free: 146.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00021/0.723, allocations: 13.78 kB / 0.5806 GB, free: 146.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007454/0.7237, allocations: 49.95 kB / 0.5806 GB, free: 146.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.7239, allocations: 64.72 kB / 0.5807 GB, free: 146.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.564e-05/0.724, allocations: 33.02 kB / 0.5807 GB, free: 146.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0008771/0.7249, allocations: 0.7587 MB / 0.5815 GB, free: 146.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001743/0.7266, allocations: 415 kB / 0.5819 GB, free: 146.4 MB / 442.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.0003731/0.727, allocations: 276.1 kB / 0.5821 GB, free: 146.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002317/0.7293, allocations: 1.856 MB / 0.5839 GB, free: 146.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7293, allocations: 3.562 kB / 0.5839 GB, free: 146.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00145/0.7308, allocations: 1.244 MB / 0.5852 GB, free: 145.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.7319, allocations: 272.3 kB / 0.5854 GB, free: 145.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004657/0.7366, allocations: 3.272 MB / 0.5886 GB, free: 145 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0013/0.7379, allocations: 1.819 MB / 0.5904 GB, free: 144.2 MB / 442.7 MB Notification: Performance of SimCode: time 7.81e-07/0.7379, allocations: 0 / 0.5904 GB, free: 144.2 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1)