Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=12000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=12000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1+maint.om/package.mo): time 0.003734/0.003734, allocations: 176.8 kB / 7.445 MB, free: 2.316 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.135/1.135, allocations: 170.6 MB / 178.4 MB, free: 15.43 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.001766/0.001765, allocations: 104.5 kB / 217.7 MB, free: 8.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.451e-05/1.454e-05, allocations: 4 kB / 261.8 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1032, allocations: 38.76 MB / 300.5 MB, free: 3.887 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3473/0.4505, allocations: 102.9 MB / 403.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/0.4509, allocations: 87.88 kB / 403.5 MB, free: 14.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 0.5371/0.9881, allocations: 81.31 MB / 484.8 MB, free: 59.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004586/0.9886, allocations: 70.78 kB / 484.9 MB, free: 59.14 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 655 * Number of variables: 655 Notification: Performance of Generate backend data structure: time 0.01284/1.001, allocations: 2.603 MB / 487.5 MB, free: 58.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.908e-05/1.002, allocations: 11 kB / 487.5 MB, free: 58.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003734/1.005, allocations: 426.1 kB / 487.9 MB, free: 57.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007183/1.012, allocations: 1.763 MB / 489.7 MB, free: 57.53 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002057/1.013, allocations: 82.47 kB / 489.8 MB, free: 57.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001234/1.014, allocations: 150.3 kB / 489.9 MB, free: 57.53 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008576/1.023, allocations: 2.347 MB / 492.3 MB, free: 57.51 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01028/1.033, allocations: 2.816 MB / 495.1 MB, free: 57.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001157/1.033, allocations: 7.844 kB / 495.1 MB, free: 57.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003497/1.033, allocations: 7.562 kB / 495.1 MB, free: 57.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001525/1.034, allocations: 105.6 kB / 495.2 MB, free: 57.13 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02589/1.06, allocations: 9.964 MB / 0.4933 GB, free: 54.6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002151/1.062, allocations: 0.9206 MB / 0.4942 GB, free: 54.58 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0018/1.064, allocations: 0.9182 MB / 0.4951 GB, free: 54.56 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004155/1.064, allocations: 141.9 kB / 0.4952 GB, free: 54.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.874e-05/1.064, allocations: 48.16 kB / 0.4953 GB, free: 54.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=118): time 5.971e-06/1.064, allocations: 0 / 0.4953 GB, free: 54.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=143): time 0.01687/1.081, allocations: 5.457 MB / 0.5006 GB, free: 53.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/1.081, allocations: 67.03 kB / 0.5007 GB, free: 53.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003489/1.085, allocations: 1.322 MB / 0.502 GB, free: 53.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003346/1.085, allocations: 28.17 kB / 0.502 GB, free: 53.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008221/1.086, allocations: 0.9851 MB / 0.503 GB, free: 52.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005918/1.086, allocations: 477 kB / 0.5034 GB, free: 52.39 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/1.087, allocations: 0 / 0.5034 GB, free: 52.39 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001869/1.087, allocations: 376.2 kB / 0.5038 GB, free: 52.08 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/1.088, allocations: 0.804 MB / 0.5046 GB, free: 52.08 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001955/1.09, allocations: 1.281 MB / 0.5058 GB, free: 51.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/1.093, allocations: 1.012 MB / 0.5068 GB, free: 51.51 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/1.093, allocations: 6.406 kB / 0.5068 GB, free: 51.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.007277/1.1, allocations: 2.706 MB / 0.5095 GB, free: 50.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/1.1, allocations: 3.906 kB / 0.5095 GB, free: 50.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.426e-05/1.1, allocations: 15.75 kB / 0.5095 GB, free: 50.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002096/1.102, allocations: 0.5844 MB / 0.51 GB, free: 50.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002561/1.105, allocations: 397.6 kB / 0.5104 GB, free: 50.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/1.116, allocations: 4.889 MB / 0.5152 GB, free: 48.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003966/1.12, allocations: 82.77 kB / 0.5153 GB, free: 48.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003347/1.12, allocations: 79.12 kB / 0.5153 GB, free: 48.05 MB / 346.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 (187): * Single equations (assignments): 183 * 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.0005634/1.121, allocations: 147.2 kB / 0.5155 GB, free: 47.94 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000685/1.122, allocations: 182.7 kB / 0.5157 GB, free: 47.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007888/1.13, allocations: 2.428 MB / 0.518 GB, free: 46.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.121e-05/1.13, allocations: 13.38 kB / 0.518 GB, free: 46.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.028e-05/1.13, allocations: 5.594 kB / 0.5181 GB, free: 46.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-05/1.13, allocations: 9.234 kB / 0.5181 GB, free: 46.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/1.144, allocations: 4.933 MB / 0.5229 GB, free: 45.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.019e-05/1.144, allocations: 6.156 kB / 0.5229 GB, free: 45.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00179/1.146, allocations: 246.2 kB / 0.5231 GB, free: 45.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002997/1.149, allocations: 0.6406 MB / 0.5237 GB, free: 44.86 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001761/1.149, allocations: 20.58 kB / 0.5238 GB, free: 44.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01258/1.162, allocations: 6.506 MB / 0.5301 GB, free: 40.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.27e-05/1.162, allocations: 4.188 kB / 0.5301 GB, free: 40.82 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008093/1.17, allocations: 3.875 MB / 0.5339 GB, free: 37.28 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001623/1.172, allocations: 440.5 kB / 0.5343 GB, free: 36.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003832/1.172, allocations: 11.7 kB / 0.5343 GB, free: 36.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/1.174, allocations: 83.77 kB / 0.5344 GB, free: 36.81 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002922/1.174, allocations: 94.95 kB / 0.5345 GB, free: 36.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/1.174, allocations: 43.38 kB / 0.5345 GB, free: 36.72 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.00198/1.176, allocations: 0.9952 MB / 0.5355 GB, free: 35.82 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002578/1.179, allocations: 0.5225 MB / 0.536 GB, free: 35.3 MB / 346.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 (110): * Single equations (assignments): 106 * 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.00067/1.18, allocations: 307.6 kB / 0.5363 GB, free: 35.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004429/1.184, allocations: 2.358 MB / 0.5386 GB, free: 32.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.184, allocations: 0 / 0.5386 GB, free: 32.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002699/1.187, allocations: 1.46 MB / 0.5401 GB, free: 31.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/1.189, allocations: 296.2 kB / 0.5403 GB, free: 31.28 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008629/1.198, allocations: 4.126 MB / 0.5444 GB, free: 27.55 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001971/1.2, allocations: 2.17 MB / 0.5465 GB, free: 25.8 MB / 346.7 MB Notification: Performance of SimCode: time 1.353e-06/1.2, allocations: 0 / 0.5465 GB, free: 25.8 MB / 346.7 MB Notification: Performance of Templates: time 0.04491/1.244, allocations: 24.78 MB / 0.5707 GB, free: 7.051 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1)