Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") [: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.2+maint.om/package.mo): time 0.001714/0.001714, allocations: 197.1 kB / 8.139 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.259/1.259, allocations: 194.2 MB / 202.8 MB, free: 8.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001722/0.001722, allocations: 116.7 kB / 247.7 MB, free: 6.367 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.704e-06/7.864e-06, allocations: 4 kB / 297.6 MB, free: 7.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07088/0.07091, allocations: 44.49 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2298/0.3007, allocations: 108.3 MB / 450.3 MB, free: 3.578 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.301, allocations: 86.7 kB / 450.4 MB, free: 3.535 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.3613/0.6624, allocations: 81.77 MB / 0.5197 GB, free: 75.97 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002193/0.6626, allocations: 73.33 kB / 0.5198 GB, free: 75.96 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.00586/0.6685, allocations: 2.595 MB / 0.5223 GB, free: 75.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.6686, allocations: 10.41 kB / 0.5223 GB, free: 75.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/0.6705, allocations: 429 kB / 0.5227 GB, free: 74.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003817/0.6743, allocations: 1.84 MB / 0.5245 GB, free: 74.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.691e-05/0.6744, allocations: 83.38 kB / 0.5246 GB, free: 74.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004592/0.6749, allocations: 147.5 kB / 0.5247 GB, free: 74.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003912/0.6788, allocations: 2.344 MB / 0.527 GB, free: 74.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004124/0.683, allocations: 2.806 MB / 0.5298 GB, free: 74.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.97e-05/0.683, allocations: 7.344 kB / 0.5298 GB, free: 74.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002228/0.6833, allocations: 3.438 kB / 0.5298 GB, free: 74.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-05/0.6834, allocations: 110 kB / 0.5299 GB, free: 74.04 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01419/0.6976, allocations: 10.01 MB / 0.5397 GB, free: 71.51 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.6992, allocations: 0.9345 MB / 0.5406 GB, free: 71.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.7006, allocations: 0.9165 MB / 0.5415 GB, free: 71.47 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003602/0.7009, allocations: 217.4 kB / 0.5417 GB, free: 71.28 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.701, allocations: 46.62 kB / 0.5417 GB, free: 71.24 MB / 394.7 MB Notification: Performance of pre-optimization done (n=119): time 4.439e-06/0.701, allocations: 0 / 0.5417 GB, free: 71.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=144): time 0.01085/0.7119, allocations: 5.494 MB / 0.5471 GB, free: 70.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.7119, allocations: 63.78 kB / 0.5471 GB, free: 70.29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/0.7137, allocations: 1.376 MB / 0.5485 GB, free: 70.12 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.305e-05/0.7138, allocations: 28.77 kB / 0.5485 GB, free: 70.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003533/0.7141, allocations: 0.9805 MB / 0.5495 GB, free: 69.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.7144, allocations: 489.7 kB / 0.5499 GB, free: 69.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.698e-05/0.7145, allocations: 3.562 kB / 0.5499 GB, free: 69.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.906e-05/0.7146, allocations: 374.6 kB / 0.5503 GB, free: 68.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.7156, allocations: 0.8037 MB / 0.5511 GB, free: 68.88 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.717, allocations: 1.277 MB / 0.5523 GB, free: 68.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.7185, allocations: 1.024 MB / 0.5533 GB, free: 68.3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.7185, allocations: 3.719 kB / 0.5533 GB, free: 68.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004285/0.7228, allocations: 2.703 MB / 0.556 GB, free: 67.72 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.7229, allocations: 6.125 kB / 0.556 GB, free: 67.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.811e-05/0.7229, allocations: 17.19 kB / 0.556 GB, free: 67.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001443/0.7243, allocations: 0.5887 MB / 0.5566 GB, free: 67.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/0.7259, allocations: 399.3 kB / 0.557 GB, free: 67.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006125/0.7321, allocations: 4.888 MB / 0.5617 GB, free: 64.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.7337, allocations: 85.56 kB / 0.5618 GB, free: 64.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/0.7339, allocations: 76.97 kB / 0.5619 GB, free: 64.91 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (188): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {(6,72.2%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002721/0.7342, allocations: 152.4 kB / 0.562 GB, free: 64.79 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003296/0.7345, allocations: 179.6 kB / 0.5622 GB, free: 64.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003986/0.7385, allocations: 2.435 MB / 0.5646 GB, free: 63.83 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.7385, allocations: 11.69 kB / 0.5646 GB, free: 63.83 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.7385, allocations: 7.719 kB / 0.5646 GB, free: 63.83 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.7386, allocations: 7.266 kB / 0.5646 GB, free: 63.83 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00872/0.7473, allocations: 4.98 MB / 0.5695 GB, free: 61.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/0.7473, allocations: 3.969 kB / 0.5695 GB, free: 61.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.7485, allocations: 249.4 kB / 0.5697 GB, free: 61.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001914/0.7505, allocations: 0.6402 MB / 0.5703 GB, free: 61.72 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/0.7506, allocations: 20.8 kB / 0.5704 GB, free: 61.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008081/0.7587, allocations: 6.492 MB / 0.5767 GB, free: 57.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.7587, allocations: 6.781 kB / 0.5767 GB, free: 57.73 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005973/0.7647, allocations: 3.885 MB / 0.5805 GB, free: 55.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/0.7658, allocations: 447.4 kB / 0.5809 GB, free: 55.63 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005107/0.7663, allocations: 12.22 kB / 0.5809 GB, free: 55.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/0.7677, allocations: 81.23 kB / 0.581 GB, free: 55.62 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002194/0.768, allocations: 86.22 kB / 0.5811 GB, free: 55.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/0.7681, allocations: 47.42 kB / 0.5811 GB, free: 55.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.00183/0.7699, allocations: 1.044 MB / 0.5822 GB, free: 55.17 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002207/0.7722, allocations: 0.5228 MB / 0.5827 GB, free: 55.15 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,75.0%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006517/0.7728, allocations: 327.1 kB / 0.583 GB, free: 55.03 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003988/0.7768, allocations: 2.368 MB / 0.5853 GB, free: 54.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.7768, allocations: 8.938 kB / 0.5853 GB, free: 54.08 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00271/0.7796, allocations: 1.457 MB / 0.5867 GB, free: 53.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/0.7815, allocations: 295.7 kB / 0.587 GB, free: 53.36 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008823/0.7903, allocations: 4.172 MB / 0.5911 GB, free: 51.62 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002339/0.7927, allocations: 2.179 MB / 0.5932 GB, free: 50.65 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.7927, allocations: 0 / 0.5932 GB, free: 50.65 MB / 394.7 MB Notification: Performance of Templates: time 0.04446/0.8372, allocations: 25.57 MB / 0.6182 GB, free: 40.89 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1)