Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_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 trunk/package.mo): time 0.001019/0.001019, allocations: 199.5 kB / 8.539 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.116/1.116, allocations: 225.5 MB / 234.4 MB, free: 3.324 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008424/0.0008425, allocations: 90.83 kB / 286.3 MB, free: 5.289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08738/0.08825, allocations: 56.91 MB / 343.2 MB, free: 8.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07834/0.1666, allocations: 51.48 MB / 394.7 MB, free: 5.055 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2382/0.4048, allocations: 126.2 MB / 0.5087 GB, free: 15.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.405, allocations: 85.7 kB / 0.5088 GB, free: 15.61 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: 617 * Number of variables: 617 Notification: Performance of Generate backend data structure: time 0.1406/0.5457, allocations: 57.62 MB / 0.5651 GB, free: 10.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.5457, allocations: 11.94 kB / 0.5651 GB, free: 10.49 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/0.5471, allocations: 440 kB / 0.5655 GB, free: 10.05 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003042/0.5501, allocations: 1.75 MB / 0.5672 GB, free: 8.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.343e-05/0.5502, allocations: 80 kB / 0.5673 GB, free: 8.172 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003059/0.5505, allocations: 139.9 kB / 0.5674 GB, free: 8.035 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003697/0.5542, allocations: 2.266 MB / 0.5697 GB, free: 5.762 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004198/0.5584, allocations: 2.654 MB / 0.5722 GB, free: 2.949 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.294e-05/0.5585, allocations: 11.91 kB / 0.5723 GB, free: 2.938 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001963/0.5587, allocations: 7.984 kB / 0.5723 GB, free: 2.93 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.363e-05/0.5588, allocations: 100.6 kB / 0.5724 GB, free: 2.828 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1531/0.7119, allocations: 9.892 MB / 0.582 GB, free: 60.45 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.7133, allocations: 1.106 MB / 0.5831 GB, free: 60.42 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.7146, allocations: 1.175 MB / 0.5842 GB, free: 60.41 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000247/0.7148, allocations: 138.4 kB / 0.5844 GB, free: 60.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.7149, allocations: 54.84 kB / 0.5844 GB, free: 60.28 MB / 442.7 MB Notification: Performance of pre-optimization done (n=152): time 3.015e-06/0.7149, allocations: 0 / 0.5844 GB, free: 60.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=175): time 0.00887/0.7237, allocations: 5.856 MB / 0.5901 GB, free: 59.45 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.7238, allocations: 173.3 kB / 0.5903 GB, free: 59.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/0.7253, allocations: 1.34 MB / 0.5916 GB, free: 59.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.7254, allocations: 29.02 kB / 0.5917 GB, free: 59.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000294/0.7257, allocations: 0.8913 MB / 0.5925 GB, free: 58.69 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002821/0.726, allocations: 0.5641 MB / 0.5931 GB, free: 58.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.89e-05/0.7261, allocations: 0 / 0.5931 GB, free: 58.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.454e-05/0.7262, allocations: 388 kB / 0.5934 GB, free: 58.08 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.7272, allocations: 0.8826 MB / 0.5943 GB, free: 58.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.7284, allocations: 1.309 MB / 0.5956 GB, free: 57.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.7297, allocations: 1.083 MB / 0.5966 GB, free: 57.58 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.7297, allocations: 3.844 kB / 0.5966 GB, free: 57.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.004251/0.7339, allocations: 3.1 MB / 0.5997 GB, free: 57.35 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005896/0.7345, allocations: 4.839 MB / 0.6044 GB, free: 52.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.481e-05/0.7346, allocations: 12.66 kB / 0.6044 GB, free: 52.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002073/0.7367, allocations: 0.9638 MB / 0.6054 GB, free: 52.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.738, allocations: 371.8 kB / 0.6057 GB, free: 52.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00977/0.7478, allocations: 11.02 MB / 0.6165 GB, free: 46.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.7492, allocations: 53.66 kB / 0.6165 GB, free: 46.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/0.7494, allocations: 72.72 kB / 0.6166 GB, free: 46.99 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.733e-06/0.7494, allocations: 5.125 kB / 0.6166 GB, free: 46.99 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004036/0.7534, allocations: 2.876 MB / 0.6194 GB, free: 46.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.7535, allocations: 18.58 kB / 0.6194 GB, free: 46.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001988/0.7555, allocations: 0.951 MB / 0.6204 GB, free: 46.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.7567, allocations: 361.5 kB / 0.6207 GB, free: 46.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009728/0.7665, allocations: 11.02 MB / 0.6315 GB, free: 41.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.7678, allocations: 44.44 kB / 0.6315 GB, free: 41.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.768, allocations: 79.45 kB / 0.6316 GB, free: 41.55 MB / 442.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.0003157/0.7683, allocations: 154.1 kB / 0.6317 GB, free: 41.44 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002874/0.7686, allocations: 204 kB / 0.6319 GB, free: 41.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003907/0.7725, allocations: 2.804 MB / 0.6347 GB, free: 40.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.7725, allocations: 18.97 kB / 0.6347 GB, free: 40.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.7726, allocations: 3.906 kB / 0.6347 GB, free: 40.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.7726, allocations: 6.703 kB / 0.6347 GB, free: 40.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007719/0.7803, allocations: 5.439 MB / 0.64 GB, free: 38.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.7803, allocations: 3.281 kB / 0.64 GB, free: 38.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.7814, allocations: 221.7 kB / 0.6402 GB, free: 38.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002436/0.7838, allocations: 1.022 MB / 0.6412 GB, free: 37.96 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/0.7839, allocations: 16.47 kB / 0.6412 GB, free: 37.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0117/0.7956, allocations: 12.65 MB / 0.6536 GB, free: 29.21 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.7957, allocations: 2.281 kB / 0.6536 GB, free: 29.21 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005928/0.8016, allocations: 4.329 MB / 0.6578 GB, free: 27.35 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007371/0.809, allocations: 6.07 MB / 0.6637 GB, free: 24.56 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009477/0.81, allocations: 474.5 kB / 0.6642 GB, free: 24.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003238/0.8103, allocations: 13.27 kB / 0.6642 GB, free: 24.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.8114, allocations: 59.95 kB / 0.6643 GB, free: 24.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/0.8116, allocations: 93.97 kB / 0.6643 GB, free: 24.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.8118, allocations: 51.31 kB / 0.6644 GB, free: 24.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.001217/0.813, allocations: 1 MB / 0.6654 GB, free: 23.81 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004263/0.8173, allocations: 1.042 MB / 0.6664 GB, free: 23.77 MB / 442.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.0005533/0.8178, allocations: 374.9 kB / 0.6667 GB, free: 23.63 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006075/0.8239, allocations: 5.011 MB / 0.6716 GB, free: 21.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.8239, allocations: 1.688 kB / 0.6716 GB, free: 21.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002389/0.8263, allocations: 1.888 MB / 0.6735 GB, free: 20.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/0.8282, allocations: 414.8 kB / 0.6739 GB, free: 20.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007952/0.8361, allocations: 4.781 MB / 0.6786 GB, free: 18.18 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001593/0.8377, allocations: 2.153 MB / 0.6807 GB, free: 17.24 MB / 442.7 MB Notification: Performance of SimCode: time 4.41e-07/0.8377, allocations: 0 / 0.6807 GB, free: 17.24 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Rectifier_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier.pipe 2>&1)