Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.SynchronousInductionMachines.SMEE_Generator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator",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.0009415/0.0009414, allocations: 179.3 kB / 8.478 MB, free: 1.867 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.022/1.022, allocations: 205.2 MB / 214.1 MB, free: 5.098 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008531/0.0008531, allocations: 91.72 kB / 262.1 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1344/0.1353, allocations: 52.98 MB / 315.1 MB, free: 41.4 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05635/0.1916, allocations: 47.57 MB / 362.6 MB, free: 9.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2103/0.402, allocations: 112.8 MB / 475.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001961/0.4022, allocations: 87.2 kB / 475.5 MB, free: 12.25 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.2119/0.6142, allocations: 84.66 MB / 0.547 GB, free: 14.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.6142, allocations: 12 kB / 0.547 GB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.6156, allocations: 431.9 kB / 0.5474 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003192/0.6188, allocations: 1.854 MB / 0.5492 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.381e-05/0.6189, allocations: 80 kB / 0.5493 GB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002959/0.6192, allocations: 148 kB / 0.5495 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003716/0.6229, allocations: 2.357 MB / 0.5518 GB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004179/0.6271, allocations: 2.814 MB / 0.5545 GB, free: 6.672 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.749e-05/0.6271, allocations: 4 kB / 0.5545 GB, free: 6.668 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/0.6273, allocations: 4 kB / 0.5545 GB, free: 6.664 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.091e-05/0.6274, allocations: 112.9 kB / 0.5546 GB, free: 6.551 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01388/0.6413, allocations: 10.04 MB / 0.5644 GB, free: 12.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.6427, allocations: 0.9402 MB / 0.5654 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/0.6439, allocations: 0.9135 MB / 0.5662 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003161/0.6442, allocations: 223.1 kB / 0.5665 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.6443, allocations: 47.56 kB / 0.5665 GB, free: 10.01 MB / 426.7 MB Notification: Performance of pre-optimization done (n=120): time 3.015e-06/0.6443, allocations: 0 / 0.5665 GB, free: 10.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=145): time 0.009715/0.654, allocations: 5.473 MB / 0.5718 GB, free: 4.488 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.654, allocations: 76.66 kB / 0.5719 GB, free: 4.398 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/0.6558, allocations: 1.383 MB / 0.5733 GB, free: 3.012 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.296e-05/0.6559, allocations: 29.7 kB / 0.5733 GB, free: 2.977 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005052/0.6564, allocations: 0.9819 MB / 0.5743 GB, free: 1.977 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003526/0.6568, allocations: 492.7 kB / 0.5747 GB, free: 1.488 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.04e-05/0.6568, allocations: 0 / 0.5747 GB, free: 1.488 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.657, allocations: 369.9 kB / 0.5751 GB, free: 1.121 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.6581, allocations: 0.8083 MB / 0.5759 GB, free: 320 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.094/0.7521, allocations: 1.278 MB / 0.5771 GB, free: 147.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.7536, allocations: 1.022 MB / 0.5781 GB, free: 147.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.7536, allocations: 3.75 kB / 0.5781 GB, free: 147.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.004139/0.7577, allocations: 2.714 MB / 0.5808 GB, free: 147.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.7578, allocations: 4.812 kB / 0.5808 GB, free: 147.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.398e-05/0.7578, allocations: 15.97 kB / 0.5808 GB, free: 147.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/0.7592, allocations: 0.5858 MB / 0.5814 GB, free: 147.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/0.7606, allocations: 403.4 kB / 0.5817 GB, free: 147.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005337/0.766, allocations: 4.892 MB / 0.5865 GB, free: 146.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.7674, allocations: 84.52 kB / 0.5866 GB, free: 146.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.7675, allocations: 79.53 kB / 0.5867 GB, free: 146.3 MB / 426.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 (189): * Single equations (assignments): 185 * 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.0002321/0.7678, allocations: 149.1 kB / 0.5868 GB, free: 146.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/0.768, allocations: 185.3 kB / 0.587 GB, free: 146.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003506/0.7716, allocations: 2.443 MB / 0.5894 GB, free: 146.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.7716, allocations: 13.59 kB / 0.5894 GB, free: 146.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.7716, allocations: 9.375 kB / 0.5894 GB, free: 146.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.7716, allocations: 7.031 kB / 0.5894 GB, free: 146.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006621/0.7782, allocations: 4.997 MB / 0.5943 GB, free: 145.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.7783, allocations: 3.25 kB / 0.5943 GB, free: 145.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.7793, allocations: 263.3 kB / 0.5945 GB, free: 145.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001516/0.7808, allocations: 0.6411 MB / 0.5952 GB, free: 145.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.172e-05/0.7809, allocations: 19.83 kB / 0.5952 GB, free: 145.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006202/0.7871, allocations: 6.488 MB / 0.6015 GB, free: 143.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.7872, allocations: 9.281 kB / 0.6015 GB, free: 143.1 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004277/0.7914, allocations: 3.902 MB / 0.6053 GB, free: 142.4 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005376/0.7968, allocations: 5.506 MB / 0.6107 GB, free: 141.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000691/0.7975, allocations: 456.8 kB / 0.6112 GB, free: 141.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002892/0.7978, allocations: 10.7 kB / 0.6112 GB, free: 141.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.7989, allocations: 85.28 kB / 0.6113 GB, free: 141.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.7991, allocations: 88.53 kB / 0.6113 GB, free: 141.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.37e-05/0.7992, allocations: 49.64 kB / 0.6114 GB, free: 141.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001131/0.8004, allocations: 1.039 MB / 0.6124 GB, free: 141 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002048/0.8024, allocations: 0.545 MB / 0.6129 GB, free: 141 MB / 426.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 (112): * Single equations (assignments): 108 * 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.0004203/0.8029, allocations: 329.9 kB / 0.6132 GB, free: 140.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002829/0.8057, allocations: 2.378 MB / 0.6156 GB, free: 140.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8057, allocations: 2.844 kB / 0.6156 GB, free: 140.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00187/0.8076, allocations: 1.464 MB / 0.617 GB, free: 139.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.8088, allocations: 306.5 kB / 0.6173 GB, free: 139.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00601/0.8148, allocations: 4.189 MB / 0.6214 GB, free: 137.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001674/0.8165, allocations: 2.204 MB / 0.6235 GB, free: 137 MB / 426.7 MB Notification: Performance of SimCode: time 4.11e-07/0.8165, allocations: 0 / 0.6235 GB, free: 137 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1)