Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) 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: translateModel(OpenIPSL.Tests.Machines.PSSE.GENSAL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL") translateModel(OpenIPSL.Tests.Machines.PSSE.GENSAL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL") [: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.003228/0.003228, allocations: 183.4 kB / 7.457 MB, free: 2.504 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.442/1.442, allocations: 205.2 MB / 213.1 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009866/0.0009866, allocations: 89.61 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09222/0.09222, allocations: 12.59 MB / 321.6 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2933/0.2933, allocations: 78.05 MB / 450.4 MB, free: 3.191 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.985e-06/8.155e-06, allocations: 4 kB / 0.5141 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1625, allocations: 69.32 MB / 0.5818 GB, free: 8.742 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3943/0.5568, allocations: 106 MB / 0.6853 GB, free: 2.238 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.5571, allocations: 84.5 kB / 0.6854 GB, free: 2.195 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.09647/0.6536, allocations: 34.79 MB / 0.7194 GB, free: 6.023 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001355/0.6538, allocations: 23.94 kB / 0.7194 GB, free: 6 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.006379/0.6602, allocations: 1.857 MB / 0.7212 GB, free: 4.227 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.6603, allocations: 11.97 kB / 0.7212 GB, free: 4.215 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003543/0.6638, allocations: 0.5388 MB / 0.7217 GB, free: 3.715 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/0.6658, allocations: 0.7875 MB / 0.7225 GB, free: 3.055 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004455/0.6663, allocations: 337.2 kB / 0.7228 GB, free: 2.668 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002712/0.6665, allocations: 51.94 kB / 0.7229 GB, free: 2.621 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001926/0.6685, allocations: 0.9022 MB / 0.7238 GB, free: 2.074 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/0.6704, allocations: 0.9001 MB / 0.7246 GB, free: 1.453 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/0.6704, allocations: 3.906 kB / 0.7246 GB, free: 1.449 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.6705, allocations: 4 kB / 0.7246 GB, free: 1.445 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-05/0.6706, allocations: 20 kB / 0.7247 GB, free: 1.426 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008655/0.6792, allocations: 3.939 MB / 0.7285 GB, free: 14.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.6808, allocations: 0.8511 MB / 0.7293 GB, free: 13.77 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009328/0.6818, allocations: 0.5986 MB / 0.7299 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/0.6819, allocations: 20.98 kB / 0.73 GB, free: 13.43 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.682, allocations: 49.62 kB / 0.73 GB, free: 13.38 MB / 474.7 MB Notification: Performance of pre-optimization done (n=107): time 4.599e-06/0.682, allocations: 0 / 0.73 GB, free: 13.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=107): time 0.01609/0.6981, allocations: 4.935 MB / 0.7348 GB, free: 9.031 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/0.6982, allocations: 94.05 kB / 0.7349 GB, free: 8.922 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001832/0.7, allocations: 0.8389 MB / 0.7357 GB, free: 8.305 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003381/0.7004, allocations: 25.7 kB / 0.7358 GB, free: 8.273 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002678/0.7007, allocations: 315.1 kB / 0.7361 GB, free: 8.012 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007477/0.7014, allocations: 364.8 kB / 0.7364 GB, free: 7.691 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.7015, allocations: 0 / 0.7364 GB, free: 7.691 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.7017, allocations: 344.5 kB / 0.7367 GB, free: 7.367 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009428/0.7027, allocations: 480.5 kB / 0.7372 GB, free: 7.117 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.7037, allocations: 0.6048 MB / 0.7378 GB, free: 6.707 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.705, allocations: 0.5173 MB / 0.7383 GB, free: 6.418 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/0.705, allocations: 7.906 kB / 0.7383 GB, free: 6.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003994/0.709, allocations: 1.698 MB / 0.7399 GB, free: 4.984 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.709, allocations: 4 kB / 0.74 GB, free: 4.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.7091, allocations: 7.906 kB / 0.74 GB, free: 4.973 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007873/0.7169, allocations: 2.214 MB / 0.7421 GB, free: 2.754 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007949/0.7178, allocations: 135.8 kB / 0.7422 GB, free: 2.621 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005381/0.7232, allocations: 2.402 MB / 0.7446 GB, free: 196 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/0.7252, allocations: 195.1 kB / 0.7448 GB, free: 0 / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002121/0.7254, allocations: 36.06 kB / 0.7448 GB, free: 15.96 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 (73): * Single equations (assignments): 72 * 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 {28 25} Notification: Performance of prepare postOptimizeDAE: time 0.0003119/0.7257, allocations: 120.8 kB / 0.7449 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006034/0.7263, allocations: 142.3 kB / 0.7451 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0162/0.7426, allocations: 5.046 MB / 0.75 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.245e-05/0.7426, allocations: 12 kB / 0.75 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.7427, allocations: 0 / 0.75 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-05/0.7427, allocations: 7.969 kB / 0.75 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02017/0.7629, allocations: 6.543 MB / 0.7564 GB, free: 3.969 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.765e-05/0.763, allocations: 0 / 0.7564 GB, free: 3.969 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008565/0.7638, allocations: 111.8 kB / 0.7565 GB, free: 3.859 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007325/0.7712, allocations: 2.072 MB / 0.7585 GB, free: 1.781 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003066/0.7715, allocations: 11.98 kB / 0.7585 GB, free: 1.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01953/0.7911, allocations: 7.152 MB / 0.7655 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/0.7911, allocations: 3.906 kB / 0.7655 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01833/0.8095, allocations: 5.986 MB / 0.7714 GB, free: 4.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008891/0.8104, allocations: 231.2 kB / 0.7716 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006912/0.8112, allocations: 4 kB / 0.7716 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002115/0.8133, allocations: 143.9 kB / 0.7717 GB, free: 4.09 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005771/0.8139, allocations: 128.8 kB / 0.7719 GB, free: 3.965 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001949/0.8141, allocations: 35.98 kB / 0.7719 GB, free: 3.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.001336/0.8155, allocations: 0.6387 MB / 0.7725 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001885/0.8174, allocations: 391.4 kB / 0.7729 GB, free: 2.902 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 63 * 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.0004816/0.8179, allocations: 152.5 kB / 0.773 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007155/0.825, allocations: 2.103 MB / 0.7751 GB, free: 0.6328 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.8251, allocations: 4.062 kB / 0.7751 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006124/0.8312, allocations: 1.713 MB / 0.7768 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.8328, allocations: 81.81 kB / 0.7768 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007284/0.8401, allocations: 1.908 MB / 0.7787 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001599/0.8417, allocations: 1.208 MB / 0.7799 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of SimCode: time 1.383e-06/0.8418, allocations: 7.938 kB / 0.7799 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of Templates: time 0.03808/0.8798, allocations: 20.38 MB / 0.7998 GB, free: 7.238 MB / 0.5261 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe 2>&1)