Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 106.3 kB / 16.36 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 240 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 188.5 kB / 290.3 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6073/0.6073, allocations: 91.9 MB / 432.4 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 83.88 kB / 0.5033 GB, free: 6.965 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3185, allocations: 71.26 MB / 0.5729 GB, free: 37.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.00996/0.3285, allocations: 15 MB / 0.5875 GB, free: 26.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008007/0.3365, allocations: 4.596 MB / 0.592 GB, free: 23.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002589/0.3391, allocations: 27.16 kB / 0.592 GB, free: 23.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.3412, allocations: 0.7762 MB / 0.5928 GB, free: 23.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005211/0.3465, allocations: 1.877 MB / 0.5946 GB, free: 21.97 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002861/0.3494, allocations: 1.421 MB / 0.596 GB, free: 21.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004971/0.3543, allocations: 4.526 MB / 0.6004 GB, free: 18.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.3553, allocations: 0.7982 MB / 0.6012 GB, free: 18.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002044/0.3574, allocations: 1.801 MB / 0.603 GB, free: 17.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00212/0.3595, allocations: 2.373 MB / 0.6053 GB, free: 16.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005808/0.3601, allocations: 403 kB / 0.6057 GB, free: 16.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.3613, allocations: 0.6395 MB / 0.6063 GB, free: 16.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006177/0.3619, allocations: 0.9468 MB / 0.6072 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001516/0.3634, allocations: 1.974 MB / 0.6091 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005071/0.3685, allocations: 5.261 MB / 0.6143 GB, free: 12.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3685, allocations: 0 / 0.6143 GB, free: 12.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3685, allocations: 0 / 0.6143 GB, free: 12.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001017/0.3687, allocations: 0 / 0.6143 GB, free: 12.11 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.03136/0.4, allocations: 8.155 MB / 0.6222 GB, free: 9.094 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.4001, allocations: 9.062 kB / 0.6223 GB, free: 9.094 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/0.4112, allocations: 1.754 MB / 0.624 GB, free: 8.352 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004151/0.4154, allocations: 2.17 MB / 0.6261 GB, free: 6.668 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005881/0.416, allocations: 0.6713 MB / 0.6267 GB, free: 6.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005454/0.4165, allocations: 242.1 kB / 0.627 GB, free: 5.984 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00532/0.4219, allocations: 2.689 MB / 0.6296 GB, free: 4.309 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.562e-05/0.4219, allocations: 0 / 0.6296 GB, free: 4.309 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002159/0.4221, allocations: 76 kB / 0.6297 GB, free: 4.234 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.4222, allocations: 48 kB / 0.6297 GB, free: 4.188 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005175/0.4274, allocations: 2.834 MB / 0.6325 GB, free: 1.352 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01967/0.447, allocations: 11.01 MB / 0.6432 GB, free: 5.801 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01154/0.4586, allocations: 4.971 MB / 0.6481 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003867/0.4625, allocations: 1.934 MB / 0.65 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002712/0.4628, allocations: 45.81 kB / 0.65 GB, free: 14.63 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.609e-05/0.4628, allocations: 64.56 kB / 0.6501 GB, free: 14.56 MB / 462.1 MB Notification: Performance of pre-optimization done (n=249): time 3.867e-06/0.4629, allocations: 0 / 0.6501 GB, free: 14.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=249): time 0.1208/0.5836, allocations: 29.55 MB / 0.6789 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.5837, allocations: 77.41 kB / 0.679 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004797/0.5885, allocations: 2.906 MB / 0.6819 GB, free: 13.94 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009771/0.5895, allocations: 81.7 kB / 0.6819 GB, free: 13.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001144/0.5907, allocations: 1.256 MB / 0.6832 GB, free: 12.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001394/0.5921, allocations: 0.8936 MB / 0.684 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001423/0.5935, allocations: 0.7522 MB / 0.6848 GB, free: 10.92 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.5936, allocations: 305.1 kB / 0.6851 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004649/0.5983, allocations: 2.28 MB / 0.6873 GB, free: 8.328 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004921/0.6032, allocations: 2.677 MB / 0.6899 GB, free: 5.559 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009179/0.6124, allocations: 4.843 MB / 0.6946 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.315e-05/0.6125, allocations: 7.938 kB / 0.6946 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01506/0.6275, allocations: 7.213 MB / 0.7017 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.6276, allocations: 8 kB / 0.7017 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.6276, allocations: 4 kB / 0.7017 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01832/0.6459, allocations: 5.745 MB / 0.7073 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003408/0.6494, allocations: 0.6554 MB / 0.7079 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01322/0.6626, allocations: 5.454 MB / 0.7133 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004994/0.6676, allocations: 0.504 MB / 0.7138 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004811/0.6681, allocations: 136 kB / 0.7139 GB, free: 12.86 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (410): * Single equations (assignments): 409 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(62,60)} Notification: Performance of prepare postOptimizeDAE: time 0.001266/0.6694, allocations: 0.5215 MB / 0.7144 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007195/0.6701, allocations: 331.8 kB / 0.7147 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03328/0.7034, allocations: 10.53 MB / 0.725 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.597e-05/0.7034, allocations: 27.94 kB / 0.725 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.7035, allocations: 0 / 0.725 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.507e-05/0.7035, allocations: 11.95 kB / 0.725 GB, free: 1.359 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03896/0.7425, allocations: 14.63 MB / 0.7393 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.992e-05/0.7425, allocations: 0 / 0.7393 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001735/0.7443, allocations: 263.6 kB / 0.7396 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0159/0.7602, allocations: 4.761 MB / 0.7442 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007031/0.761, allocations: 55.98 kB / 0.7443 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05271/0.8137, allocations: 21.45 MB / 0.7652 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.8137, allocations: 3.984 kB / 0.7652 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2625/1.076, allocations: 12.81 MB / 0.7777 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/1.078, allocations: 0.489 MB / 0.7782 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006204/1.078, allocations: 49.88 kB / 0.7783 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00285/1.081, allocations: 247.4 kB / 0.7785 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001726/1.083, allocations: 0.517 MB / 0.779 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002035/1.083, allocations: 69.72 kB / 0.7791 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002491/1.086, allocations: 1.879 MB / 0.7809 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/1.086, allocations: 0 / 0.7809 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003094/1.089, allocations: 1.126 MB / 0.782 GB, free: 162.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (g1.gENSAL.w,g1.gENSAL.delta,g1.gENSAL.Epq,g1.gENSAL.PSIkd,g1.gENSAL.PSIppq,g2.gENSAL.w,g2.gENSAL.delta,g2.gENSAL.Epq,g2.gENSAL.PSIkd,g2.gENSAL.PSIppq,g3.gENSAL.w,g3.gENSAL.delta,g3.gENSAL.Epq,g3.gENSAL.PSIkd,g3.gENSAL.PSIppq,g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIppq) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(54,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005203/1.089, allocations: 174.5 kB / 0.7822 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01566/1.105, allocations: 6.151 MB / 0.7882 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.105, allocations: 0 / 0.7882 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01041/1.115, allocations: 3.8 MB / 0.7919 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/1.118, allocations: 268.4 kB / 0.7921 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009613/1.127, allocations: 6.263 MB / 0.7983 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001264/1.129, allocations: 1.843 MB / 0.8001 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001291/1.13, allocations: 291.2 kB / 0.8003 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000734/1.131, allocations: 192.5 kB / 0.8005 GB, free: 155 MB / 0.5606 GB Notification: Performance of SimCode: time 8.62e-07/1.131, allocations: 1.156 kB / 0.8005 GB, free: 155 MB / 0.5606 GB Notification: Performance of Templates: time 0.07429/1.205, allocations: 61.19 MB / 0.8603 GB, free: 110.2 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & ./OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)