Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.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_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_DOL",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.0009449/0.0009448, allocations: 174.3 kB / 8.476 MB, free: 1.863 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.046/1.046, allocations: 205.2 MB / 214.1 MB, free: 5.168 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.0008153/0.0008153, allocations: 83.66 kB / 262.1 MB, free: 5.215 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1614/0.1622, allocations: 52.99 MB / 315.1 MB, free: 41.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06006/0.2223, allocations: 47.56 MB / 362.6 MB, free: 9.883 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2134/0.4357, allocations: 113.7 MB / 476.4 MB, free: 11.33 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001988/0.436, allocations: 81.89 kB / 476.5 MB, free: 11.29 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.2195/0.6555, allocations: 87.83 MB / 0.5511 GB, free: 10.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.6555, allocations: 16 kB / 0.5511 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001526/0.6571, allocations: 447.7 kB / 0.5515 GB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003333/0.6604, allocations: 1.954 MB / 0.5534 GB, free: 7.914 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.338e-05/0.6605, allocations: 92 kB / 0.5535 GB, free: 7.824 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003188/0.6608, allocations: 159.9 kB / 0.5536 GB, free: 7.668 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003964/0.6648, allocations: 2.596 MB / 0.5562 GB, free: 5.066 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004469/0.6693, allocations: 3.055 MB / 0.5592 GB, free: 1.867 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.21e-05/0.6694, allocations: 7.984 kB / 0.5592 GB, free: 1.859 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002066/0.6696, allocations: 4 kB / 0.5592 GB, free: 1.855 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-05/0.6697, allocations: 113.3 kB / 0.5593 GB, free: 1.742 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01507/0.6848, allocations: 10.8 MB / 0.5698 GB, free: 6.617 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.6863, allocations: 1.019 MB / 0.5708 GB, free: 5.594 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/0.6877, allocations: 1.086 MB / 0.5719 GB, free: 4.508 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003245/0.6881, allocations: 227.5 kB / 0.5721 GB, free: 4.246 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.6881, allocations: 43.88 kB / 0.5721 GB, free: 4.195 MB / 426.7 MB Notification: Performance of pre-optimization done (n=136): time 3.106e-06/0.6881, allocations: 3.938 kB / 0.5722 GB, free: 4.191 MB / 426.7 MB Notification: Performance of matching and sorting (n=159): time 0.1024/0.7905, allocations: 5.797 MB / 0.5778 GB, free: 145.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.7906, allocations: 67.75 kB / 0.5779 GB, free: 145.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.7923, allocations: 1.475 MB / 0.5793 GB, free: 145.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001537/0.7925, allocations: 25.7 kB / 0.5793 GB, free: 145.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/0.7929, allocations: 1.028 MB / 0.5803 GB, free: 144.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002935/0.7932, allocations: 0.5199 MB / 0.5809 GB, free: 144.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.69e-05/0.7933, allocations: 0 / 0.5809 GB, free: 144.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.971e-05/0.7933, allocations: 372.7 kB / 0.5812 GB, free: 144.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.7943, allocations: 0.8823 MB / 0.5821 GB, free: 144.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.7955, allocations: 1.33 MB / 0.5834 GB, free: 143.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.7967, allocations: 1.098 MB / 0.5844 GB, free: 143.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.7968, allocations: 4.438 kB / 0.5844 GB, free: 143.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.00395/0.8007, allocations: 2.906 MB / 0.5873 GB, free: 143.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.8007, allocations: 3.719 kB / 0.5873 GB, free: 143.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.069e-05/0.8008, allocations: 15.12 kB / 0.5873 GB, free: 143.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001431/0.8022, allocations: 0.6207 MB / 0.5879 GB, free: 143.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.8038, allocations: 433.7 kB / 0.5883 GB, free: 143.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005625/0.8094, allocations: 5.131 MB / 0.5933 GB, free: 142.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.8108, allocations: 82.47 kB / 0.5934 GB, free: 142.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.8109, allocations: 71.75 kB / 0.5935 GB, free: 142.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 194 * 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%) 27} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002464/0.8112, allocations: 149.3 kB / 0.5936 GB, free: 142.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/0.8115, allocations: 198.2 kB / 0.5938 GB, free: 142 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003724/0.8152, allocations: 2.642 MB / 0.5964 GB, free: 141.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.8152, allocations: 18.16 kB / 0.5964 GB, free: 141.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.8153, allocations: 6.156 kB / 0.5964 GB, free: 141.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.8153, allocations: 7.547 kB / 0.5964 GB, free: 141.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007143/0.8224, allocations: 5.324 MB / 0.6016 GB, free: 141.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.8225, allocations: 3.875 kB / 0.6016 GB, free: 141.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/0.8236, allocations: 290 kB / 0.6019 GB, free: 141.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001655/0.8253, allocations: 0.6745 MB / 0.6026 GB, free: 141.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.8254, allocations: 22.75 kB / 0.6026 GB, free: 141.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006601/0.832, allocations: 6.746 MB / 0.6092 GB, free: 138.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.832, allocations: 6.25 kB / 0.6092 GB, free: 138.8 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004663/0.8367, allocations: 4.117 MB / 0.6132 GB, free: 138.2 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005922/0.8427, allocations: 5.856 MB / 0.6189 GB, free: 136.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008225/0.8435, allocations: 482.8 kB / 0.6194 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003225/0.8438, allocations: 11.09 kB / 0.6194 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.845, allocations: 82.19 kB / 0.6195 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000192/0.8452, allocations: 95.5 kB / 0.6196 GB, free: 135.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.8453, allocations: 47.36 kB / 0.6196 GB, free: 135.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001255/0.8465, allocations: 1.11 MB / 0.6207 GB, free: 135.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002151/0.8487, allocations: 0.5739 MB / 0.6212 GB, free: 135.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 118 * 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,72.2%) 27,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000446/0.8491, allocations: 331.9 kB / 0.6216 GB, free: 135.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003026/0.8522, allocations: 2.554 MB / 0.6241 GB, free: 134.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.8522, allocations: 0 / 0.6241 GB, free: 134.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002054/0.8543, allocations: 1.558 MB / 0.6256 GB, free: 133.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.856, allocations: 338.1 kB / 0.6259 GB, free: 133.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007244/0.8632, allocations: 4.645 MB / 0.6304 GB, free: 131.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001867/0.8651, allocations: 2.345 MB / 0.6327 GB, free: 131 MB / 426.7 MB Notification: Performance of SimCode: time 4.11e-07/0.8651, allocations: 0 / 0.6327 GB, free: 131 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_DOL_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_DOL.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1)