Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSSE.GENROU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU") translateModel(OpenIPSL.Tests.Machines.PSSE.GENROU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU") [: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 4.0.0+maint.om/package.mo): time 0.003454/0.003454, allocations: 185.5 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.221/1.221, allocations: 221.4 MB / 229.3 MB, free: 3.047 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009541/0.000954, allocations: 91.72 kB / 280.1 MB, free: 1.312 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4147/0.4147, allocations: 78.05 MB / 408.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.731e-06/5.771e-06, allocations: 0 / 484.3 MB, free: 4.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2484, allocations: 69.34 MB / 0.5407 GB, free: 21.35 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1182/0.3667, allocations: 105.7 MB / 0.644 GB, free: 15.06 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.367, allocations: 79.95 kB / 0.644 GB, free: 14.98 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.2945/0.6615, allocations: 36.46 MB / 0.6796 GB, free: 104.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.626e-05/0.6616, allocations: 24.8 kB / 0.6797 GB, free: 104.7 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.005299/0.6669, allocations: 1.903 MB / 0.6815 GB, free: 104 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.667, allocations: 9.406 kB / 0.6815 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00342/0.6704, allocations: 0.5556 MB / 0.6821 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/0.6721, allocations: 0.8368 MB / 0.6829 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000333/0.6724, allocations: 336.3 kB / 0.6832 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000231/0.6727, allocations: 54.75 kB / 0.6833 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001793/0.6745, allocations: 0.9388 MB / 0.6842 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.676, allocations: 0.9194 MB / 0.6851 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.6761, allocations: 0 / 0.6851 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.6762, allocations: 3.906 kB / 0.6851 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.6762, allocations: 22.16 kB / 0.6851 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006837/0.6831, allocations: 4.064 MB / 0.6891 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.6843, allocations: 0.8661 MB / 0.6899 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008473/0.6852, allocations: 0.6196 MB / 0.6905 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.6854, allocations: 30.62 kB / 0.6905 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.6854, allocations: 46.64 kB / 0.6906 GB, free: 101.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=111): time 2.805e-06/0.6854, allocations: 0 / 0.6906 GB, free: 101.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=111): time 0.01643/0.7018, allocations: 5.055 MB / 0.6955 GB, free: 101.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.7019, allocations: 93.89 kB / 0.6956 GB, free: 101 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.7032, allocations: 0.8913 MB / 0.6965 GB, free: 100.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001821/0.7033, allocations: 29.7 kB / 0.6965 GB, free: 100.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.7035, allocations: 329.8 kB / 0.6968 GB, free: 100.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004076/0.7039, allocations: 373.5 kB / 0.6972 GB, free: 100.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.286e-05/0.704, allocations: 1.5 kB / 0.6972 GB, free: 100.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.179e-05/0.7041, allocations: 344.7 kB / 0.6975 GB, free: 99.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008215/0.7049, allocations: 498.1 kB / 0.698 GB, free: 99.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008576/0.7058, allocations: 0.6226 MB / 0.6986 GB, free: 99.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.707, allocations: 0.5465 MB / 0.6991 GB, free: 98.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.7071, allocations: 1.062 kB / 0.6991 GB, free: 98.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003817/0.7109, allocations: 1.762 MB / 0.7009 GB, free: 98.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.7109, allocations: 4.812 kB / 0.7009 GB, free: 98.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.7109, allocations: 3.438 kB / 0.7009 GB, free: 98.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009168/0.7201, allocations: 2.364 MB / 0.7032 GB, free: 97.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007514/0.7209, allocations: 137.1 kB / 0.7033 GB, free: 97.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005318/0.7262, allocations: 2.526 MB / 0.7058 GB, free: 96.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/0.7281, allocations: 202.8 kB / 0.706 GB, free: 96.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.7283, allocations: 38.92 kB / 0.706 GB, free: 96.19 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0002412/0.7285, allocations: 122.4 kB / 0.7061 GB, free: 96.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002685/0.7288, allocations: 139.6 kB / 0.7062 GB, free: 96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01624/0.745, allocations: 5.088 MB / 0.7112 GB, free: 94.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/0.7451, allocations: 12 kB / 0.7112 GB, free: 94.86 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.7451, allocations: 4 kB / 0.7112 GB, free: 94.86 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-05/0.7451, allocations: 14.16 kB / 0.7112 GB, free: 94.86 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01794/0.7631, allocations: 6.658 MB / 0.7177 GB, free: 89.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/0.7631, allocations: 8.516 kB / 0.7178 GB, free: 89.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008984/0.764, allocations: 119.9 kB / 0.7179 GB, free: 89.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00706/0.7711, allocations: 2.064 MB / 0.7199 GB, free: 87.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002184/0.7714, allocations: 10.25 kB / 0.7199 GB, free: 87.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01751/0.7889, allocations: 7.151 MB / 0.7269 GB, free: 80.85 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.7889, allocations: 7.422 kB / 0.7269 GB, free: 80.84 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01686/0.8058, allocations: 6.047 MB / 0.7328 GB, free: 74.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000525/0.8064, allocations: 247 kB / 0.733 GB, free: 74.53 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002778/0.8066, allocations: 0 / 0.733 GB, free: 74.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001598/0.8083, allocations: 147.9 kB / 0.7332 GB, free: 74.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003475/0.8086, allocations: 139.9 kB / 0.7333 GB, free: 74.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/0.8087, allocations: 28 kB / 0.7333 GB, free: 74.22 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008197/0.8096, allocations: 0.6982 MB / 0.734 GB, free: 73.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001119/0.8107, allocations: 399.5 kB / 0.7344 GB, free: 73.13 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003022/0.811, allocations: 153.9 kB / 0.7345 GB, free: 72.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006637/0.8176, allocations: 2.179 MB / 0.7367 GB, free: 70.81 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.8177, allocations: 0 / 0.7367 GB, free: 70.81 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008064/0.8257, allocations: 1.73 MB / 0.7384 GB, free: 69.08 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.8272, allocations: 80.62 kB / 0.7384 GB, free: 69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007544/0.8347, allocations: 2.029 MB / 0.7404 GB, free: 67 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/0.8359, allocations: 1.221 MB / 0.7416 GB, free: 65.75 MB / 490.7 MB Notification: Performance of SimCode: time 7.92e-07/0.8359, allocations: 0 / 0.7416 GB, free: 65.75 MB / 490.7 MB Notification: Performance of Templates: time 0.04136/0.8773, allocations: 21.25 MB / 0.7624 GB, free: 44.64 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe 2>&1)