Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") [: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.1+maint.om/package.mo): time 0.003099/0.003099, allocations: 178.6 kB / 7.451 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.332/1.332, allocations: 170.6 MB / 178.4 MB, free: 15.47 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001797/0.001797, allocations: 111.9 kB / 217.7 MB, free: 8.238 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.393e-06/7.414e-06, allocations: 0 / 261.7 MB, free: 26.67 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08009/0.08012, allocations: 38.75 MB / 300.5 MB, free: 3.922 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2853/0.3655, allocations: 92.43 MB / 392.9 MB, free: 8.395 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.3658, allocations: 80.7 kB / 393 MB, free: 8.355 MB / 282.7 MB Notification: Performance of FrontEnd: time 0.1164/0.4822, allocations: 40.43 MB / 433.4 MB, free: 5.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002361/0.4825, allocations: 47.94 kB / 433.5 MB, free: 5.793 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: 464 * Number of variables: 464 Notification: Performance of Generate backend data structure: time 0.005997/0.4885, allocations: 1.977 MB / 435.5 MB, free: 3.766 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.4886, allocations: 12.02 kB / 435.5 MB, free: 3.754 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.4901, allocations: 269.1 kB / 435.7 MB, free: 3.488 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003858/0.4939, allocations: 1.373 MB / 437.1 MB, free: 2.059 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.4941, allocations: 63.94 kB / 437.2 MB, free: 1.996 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007088/0.4948, allocations: 111.9 kB / 437.3 MB, free: 1.887 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004272/0.4991, allocations: 1.776 MB / 439.1 MB, free: 112 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00479/0.5039, allocations: 2.092 MB / 441.1 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.157e-05/0.504, allocations: 0 / 441.1 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002752/0.5043, allocations: 7.906 kB / 441.2 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.14e-05/0.5044, allocations: 87.41 kB / 441.2 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01403/0.5184, allocations: 7.136 MB / 448.4 MB, free: 6.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.5199, allocations: 0.7231 MB / 449.1 MB, free: 5.766 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/0.5211, allocations: 0.7397 MB / 449.8 MB, free: 5.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000318/0.5215, allocations: 137.8 kB / 450 MB, free: 4.867 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.5215, allocations: 40 kB / 450 MB, free: 4.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=87): time 2.976e-06/0.5215, allocations: 0 / 450 MB, free: 4.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=103): time 0.009587/0.5311, allocations: 3.982 MB / 454 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.5313, allocations: 68.41 kB / 454.1 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002799/0.5341, allocations: 0.9813 MB / 455 MB, free: 15.7 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001508/0.5342, allocations: 25.7 kB / 455.1 MB, free: 15.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006535/0.5349, allocations: 0.7085 MB / 455.8 MB, free: 14.94 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003777/0.5353, allocations: 350.8 kB / 456.1 MB, free: 14.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.116e-05/0.5354, allocations: 0 / 456.1 MB, free: 14.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.5356, allocations: 349.9 kB / 456.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009204/0.5365, allocations: 0.6078 MB / 457.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/0.5376, allocations: 0.8883 MB / 458 MB, free: 12.63 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.5387, allocations: 0.7446 MB / 458.7 MB, free: 11.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.5387, allocations: 0 / 458.7 MB, free: 11.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.004303/0.543, allocations: 2.272 MB / 461 MB, free: 9.609 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.5431, allocations: 8 kB / 461 MB, free: 9.602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.5431, allocations: 8 kB / 461 MB, free: 9.594 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002049/0.5452, allocations: 0.7704 MB / 461.8 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009471/0.5461, allocations: 235.6 kB / 462 MB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/0.5565, allocations: 7.771 MB / 469.8 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.5578, allocations: 55.95 kB / 469.8 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.5579, allocations: 51.98 kB / 469.9 MB, free: 484 kB / 346.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.0002629/0.5582, allocations: 124.7 kB / 470 MB, free: 352 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002571/0.5584, allocations: 130.4 kB / 470.1 MB, free: 220 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1336/0.692, allocations: 1.814 MB / 471.9 MB, free: 123.4 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.6921, allocations: 7.75 kB / 471.9 MB, free: 123.4 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.6921, allocations: 3.812 kB / 471.9 MB, free: 123.4 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.6921, allocations: 13.27 kB / 472 MB, free: 123.4 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006351/0.6985, allocations: 3.656 MB / 475.6 MB, free: 123 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/0.6985, allocations: 3.5 kB / 475.6 MB, free: 123 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008885/0.6994, allocations: 190.9 kB / 475.8 MB, free: 123 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001193/0.7006, allocations: 468.4 kB / 476.3 MB, free: 123 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.699e-05/0.7007, allocations: 14.58 kB / 476.3 MB, free: 123 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00449/0.7052, allocations: 5.724 MB / 482 MB, free: 119.4 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.7053, allocations: 3.594 kB / 482 MB, free: 119.4 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003529/0.7088, allocations: 2.801 MB / 484.8 MB, free: 119 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006738/0.7095, allocations: 349.5 kB / 485.1 MB, free: 118.9 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/0.7097, allocations: 12.2 kB / 485.2 MB, free: 118.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007257/0.7105, allocations: 51.75 kB / 485.2 MB, free: 118.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.7106, allocations: 56.75 kB / 485.3 MB, free: 118.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-05/0.7107, allocations: 33.23 kB / 485.3 MB, free: 118.9 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0009615/0.7117, allocations: 0.7456 MB / 486 MB, free: 118.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001373/0.7131, allocations: 400.6 kB / 486.4 MB, free: 118.8 MB / 346.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.0004326/0.7135, allocations: 276.2 kB / 486.7 MB, free: 118.7 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00259/0.7161, allocations: 1.852 MB / 488.6 MB, free: 118.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.7161, allocations: 0 / 488.6 MB, free: 118.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001521/0.7177, allocations: 1.248 MB / 489.8 MB, free: 118.1 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.719, allocations: 267.4 kB / 490.1 MB, free: 118.1 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005713/0.7247, allocations: 3.233 MB / 493.3 MB, free: 117.4 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/0.7263, allocations: 1.805 MB / 495.1 MB, free: 116.7 MB / 346.7 MB Notification: Performance of SimCode: time 9.62e-07/0.7263, allocations: 0 / 495.1 MB, free: 116.7 MB / 346.7 MB Notification: Performance of Templates: time 0.03338/0.7597, allocations: 19.9 MB / 0.5029 GB, free: 114.6 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1)