Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.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_Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier",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.0009636/0.0009636, allocations: 179.5 kB / 8.478 MB, free: 1.875 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.036/1.036, allocations: 205.2 MB / 214.1 MB, free: 5.082 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.0009347/0.0009347, allocations: 93.92 kB / 262.1 MB, free: 5.129 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1407/0.1417, allocations: 52.98 MB / 315.1 MB, free: 41.38 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05701/0.1987, allocations: 47.57 MB / 362.6 MB, free: 9.852 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2234/0.4221, allocations: 125.2 MB / 487.8 MB, free: 120 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.4224, allocations: 87.5 kB / 487.9 MB, free: 76 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 617 * Number of variables: 617 Notification: Performance of Generate backend data structure: time 0.1434/0.5658, allocations: 57.42 MB / 0.5325 GB, free: 13.56 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.5658, allocations: 8 kB / 0.5325 GB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/0.5675, allocations: 440 kB / 0.533 GB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003348/0.5708, allocations: 1.758 MB / 0.5347 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.288e-05/0.5709, allocations: 76 kB / 0.5348 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003686/0.5713, allocations: 151.9 kB / 0.5349 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003765/0.5751, allocations: 2.274 MB / 0.5371 GB, free: 8.801 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004128/0.5792, allocations: 2.658 MB / 0.5397 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.467e-05/0.5793, allocations: 7.906 kB / 0.5397 GB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00019/0.5795, allocations: 4 kB / 0.5397 GB, free: 5.973 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.208e-05/0.5796, allocations: 108.5 kB / 0.5398 GB, free: 5.863 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01424/0.5938, allocations: 9.895 MB / 0.5495 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.5955, allocations: 1.11 MB / 0.5506 GB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00156/0.5971, allocations: 1.187 MB / 0.5517 GB, free: 9.367 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002935/0.5974, allocations: 130.4 kB / 0.5519 GB, free: 9.223 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.5974, allocations: 55.78 kB / 0.5519 GB, free: 9.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 3.577e-06/0.5975, allocations: 0 / 0.5519 GB, free: 9.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=175): time 0.01085/0.6083, allocations: 5.848 MB / 0.5576 GB, free: 3.254 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.241e-05/0.6084, allocations: 176.2 kB / 0.5578 GB, free: 3.043 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/0.6106, allocations: 1.344 MB / 0.5591 GB, free: 1.699 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000172/0.6108, allocations: 29.69 kB / 0.5591 GB, free: 1.664 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005518/0.6113, allocations: 0.8901 MB / 0.56 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000499/0.6118, allocations: 0.5774 MB / 0.5606 GB, free: 176 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.524e-05/0.6119, allocations: 0 / 0.5606 GB, free: 176 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.6121, allocations: 381.9 kB / 0.5609 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.6134, allocations: 0.8786 MB / 0.5618 GB, free: 14.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001535/0.615, allocations: 1.314 MB / 0.5631 GB, free: 13.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.6165, allocations: 1.079 MB / 0.5641 GB, free: 12.35 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.6165, allocations: 4 kB / 0.5641 GB, free: 12.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.005186/0.6217, allocations: 3.116 MB / 0.5672 GB, free: 9.207 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001594/0.6233, allocations: 4.828 MB / 0.5719 GB, free: 3.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-05/0.6234, allocations: 16 kB / 0.5719 GB, free: 3.914 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002396/0.6258, allocations: 0.957 MB / 0.5728 GB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/0.6273, allocations: 367.4 kB / 0.5732 GB, free: 2.582 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1094/0.7367, allocations: 11 MB / 0.5839 GB, free: 140 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.7383, allocations: 52.06 kB / 0.584 GB, free: 140 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002158/0.7385, allocations: 75.5 kB / 0.584 GB, free: 140 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.833e-06/0.7385, allocations: 5.094 kB / 0.5841 GB, free: 140 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004192/0.7427, allocations: 2.871 MB / 0.5869 GB, free: 140 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.182e-05/0.7428, allocations: 14.19 kB / 0.5869 GB, free: 140 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00203/0.7448, allocations: 0.9639 MB / 0.5878 GB, free: 139.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.7461, allocations: 360.9 kB / 0.5882 GB, free: 139.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009581/0.7557, allocations: 11 MB / 0.5989 GB, free: 134.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.7571, allocations: 42.42 kB / 0.5989 GB, free: 134.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001801/0.7573, allocations: 80.89 kB / 0.599 GB, free: 134.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 7 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 185 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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%) 27} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003385/0.7576, allocations: 150.2 kB / 0.5992 GB, free: 134.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003671/0.758, allocations: 209.3 kB / 0.5994 GB, free: 134.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003971/0.762, allocations: 2.799 MB / 0.6021 GB, free: 134.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.762, allocations: 14.94 kB / 0.6021 GB, free: 134.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.762, allocations: 7.5 kB / 0.6021 GB, free: 134.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/0.762, allocations: 14.09 kB / 0.6021 GB, free: 134.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007714/0.7697, allocations: 5.432 MB / 0.6074 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.7698, allocations: 3.656 kB / 0.6074 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009845/0.7708, allocations: 216.5 kB / 0.6076 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002399/0.7732, allocations: 1.027 MB / 0.6086 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001553/0.7733, allocations: 19.92 kB / 0.6087 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/0.7841, allocations: 12.63 MB / 0.621 GB, free: 127.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.7841, allocations: 6.156 kB / 0.621 GB, free: 127.2 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005275/0.7894, allocations: 4.33 MB / 0.6252 GB, free: 125.3 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006405/0.7959, allocations: 6.055 MB / 0.6311 GB, free: 122.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000922/0.7968, allocations: 475.4 kB / 0.6316 GB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003513/0.7972, allocations: 15.14 kB / 0.6316 GB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.7983, allocations: 66.11 kB / 0.6317 GB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/0.7985, allocations: 97.22 kB / 0.6318 GB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.7986, allocations: 47.2 kB / 0.6318 GB, free: 122.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001214/0.7998, allocations: 1.007 MB / 0.6328 GB, free: 121.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004335/0.8042, allocations: 1.035 MB / 0.6338 GB, free: 121.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 12 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 110 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 27,(2,100.0%) 4} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005614/0.8047, allocations: 376.3 kB / 0.6342 GB, free: 121.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006409/0.8112, allocations: 5.011 MB / 0.6391 GB, free: 119.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.8112, allocations: 0 / 0.6391 GB, free: 119.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002433/0.8136, allocations: 1.883 MB / 0.6409 GB, free: 118.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/0.8155, allocations: 414.2 kB / 0.6413 GB, free: 118.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008109/0.8236, allocations: 4.81 MB / 0.646 GB, free: 116.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00158/0.8252, allocations: 2.154 MB / 0.6481 GB, free: 114.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/0.8252, allocations: 0 / 0.6481 GB, free: 114.7 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe 2>&1)