Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.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.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.184/1.184, allocations: 222.9 MB / 239.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000987/0.000987, allocations: 99.58 kB / 289.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.414/0.414, allocations: 78.51 MB / 418.5 MB, free: 8.504 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 67.89 kB / 497.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2584, allocations: 68.17 MB / 0.5524 GB, free: 19.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.009028/0.2674, allocations: 15.75 MB / 0.5678 GB, free: 4.047 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008043/0.2755, allocations: 4.74 MB / 0.5724 GB, free: 15.29 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002668/0.2783, allocations: 32 kB / 0.5725 GB, free: 15.26 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002057/0.2803, allocations: 0.6174 MB / 0.5731 GB, free: 14.64 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006565/0.2869, allocations: 2.172 MB / 0.5752 GB, free: 12.49 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003206/0.2901, allocations: 1.246 MB / 0.5764 GB, free: 11.27 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006429/0.2966, allocations: 4.653 MB / 0.5809 GB, free: 6.598 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/0.2981, allocations: 0.7137 MB / 0.5816 GB, free: 5.848 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002583/0.3007, allocations: 1.668 MB / 0.5833 GB, free: 4.172 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002563/0.3032, allocations: 2.263 MB / 0.5855 GB, free: 1.898 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005182/0.3038, allocations: 220 kB / 0.5857 GB, free: 1.684 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.3049, allocations: 435.7 kB / 0.5861 GB, free: 1.258 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008151/0.3057, allocations: 0.7931 MB / 0.5869 GB, free: 472 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001983/0.3077, allocations: 1.806 MB / 0.5886 GB, free: 14.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005248/0.313, allocations: 5.127 MB / 0.5936 GB, free: 9.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.313, allocations: 0 / 0.5936 GB, free: 9.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.313, allocations: 0 / 0.5936 GB, free: 9.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001327/0.3131, allocations: 0 / 0.5936 GB, free: 9.5 MB / 410.7 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.03829/0.3514, allocations: 9.523 MB / 0.6029 GB, free: 15.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.3515, allocations: 12.03 kB / 0.603 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/0.3619, allocations: 1.744 MB / 0.6047 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005533/0.3675, allocations: 2.171 MB / 0.6068 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008514/0.3683, allocations: 0.6624 MB / 0.6074 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001271/0.3696, allocations: 251.8 kB / 0.6077 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007264/0.3769, allocations: 2.682 MB / 0.6103 GB, free: 8.219 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.325e-05/0.377, allocations: 0 / 0.6103 GB, free: 8.219 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003665/0.3774, allocations: 76 kB / 0.6104 GB, free: 8.145 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.999e-05/0.3774, allocations: 48 kB / 0.6104 GB, free: 8.098 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006694/0.3841, allocations: 2.842 MB / 0.6132 GB, free: 5.254 MB / 426.7 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.02227/0.4064, allocations: 11.05 MB / 0.624 GB, free: 9.664 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01259/0.419, allocations: 4.975 MB / 0.6288 GB, free: 4.477 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00433/0.4234, allocations: 1.931 MB / 0.6307 GB, free: 2.543 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003597/0.4238, allocations: 41.95 kB / 0.6308 GB, free: 2.504 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.4238, allocations: 56.56 kB / 0.6308 GB, free: 2.438 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 4.588e-06/0.4239, allocations: 0 / 0.6308 GB, free: 2.438 MB / 442.7 MB Notification: Performance of matching and sorting (n=249): time 0.1283/0.5522, allocations: 29.55 MB / 0.6597 GB, free: 4.809 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.249e-05/0.5523, allocations: 81.34 kB / 0.6597 GB, free: 4.719 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005632/0.5579, allocations: 2.906 MB / 0.6626 GB, free: 1.812 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009756/0.5589, allocations: 85.7 kB / 0.6627 GB, free: 1.723 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001385/0.5603, allocations: 1.26 MB / 0.6639 GB, free: 460 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00159/0.5619, allocations: 0.8938 MB / 0.6648 GB, free: 15.54 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002879/0.5648, allocations: 0.7483 MB / 0.6655 GB, free: 14.78 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.565, allocations: 301.1 kB / 0.6658 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005401/0.5704, allocations: 2.284 MB / 0.668 GB, free: 12.19 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005856/0.5762, allocations: 2.677 MB / 0.6706 GB, free: 9.418 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/0.5869, allocations: 4.847 MB / 0.6754 GB, free: 4.488 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.047e-05/0.5869, allocations: 7.938 kB / 0.6754 GB, free: 4.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.2664/0.8533, allocations: 7.223 MB / 0.6824 GB, free: 108.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.8534, allocations: 7.516 kB / 0.6824 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.8534, allocations: 5 kB / 0.6824 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01998/0.8734, allocations: 5.738 MB / 0.688 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003265/0.8767, allocations: 0.6599 MB / 0.6887 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01365/0.8903, allocations: 5.446 MB / 0.694 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004754/0.8951, allocations: 0.5048 MB / 0.6945 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006933/0.8958, allocations: 139.3 kB / 0.6946 GB, free: 105.3 MB / 490.7 MB 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.001563/0.8974, allocations: 0.5275 MB / 0.6951 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000935/0.8984, allocations: 332.2 kB / 0.6955 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03296/0.9313, allocations: 10.52 MB / 0.7057 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.909e-05/0.9314, allocations: 27.94 kB / 0.7058 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.9314, allocations: 0 / 0.7058 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.334e-05/0.9315, allocations: 15.25 kB / 0.7058 GB, free: 101.8 MB / 490.7 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 postOpt removeSimpleEquations (simulation): time 0.03861/0.9701, allocations: 14.66 MB / 0.7201 GB, free: 87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.219e-05/0.9702, allocations: 0 / 0.7201 GB, free: 87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/0.9718, allocations: 259.6 kB / 0.7203 GB, free: 86.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01467/0.9865, allocations: 4.761 MB / 0.725 GB, free: 81.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005732/0.9871, allocations: 51.98 kB / 0.725 GB, free: 81.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04629/1.033, allocations: 19.6 MB / 0.7442 GB, free: 62.24 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.033, allocations: 6.125 kB / 0.7442 GB, free: 62.24 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2435/1.277, allocations: 85.06 MB / 0.8272 GB, free: 8.773 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/1.278, allocations: 0.4962 MB / 0.8277 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008977/1.279, allocations: 42.34 kB / 0.8278 GB, free: 8.215 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003331/1.282, allocations: 251.7 kB / 0.828 GB, free: 7.969 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001938/1.284, allocations: 0.5099 MB / 0.8285 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00026/1.284, allocations: 63.98 kB / 0.8286 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002699/1.287, allocations: 1.877 MB / 0.8304 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/1.287, allocations: 0 / 0.8304 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005244/1.292, allocations: 1.645 MB / 0.832 GB, free: 3.887 MB / 0.5105 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.0006266/1.293, allocations: 192.1 kB / 0.8322 GB, free: 3.699 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01777/1.311, allocations: 6.093 MB / 0.8381 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/1.311, allocations: 0 / 0.8381 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01199/1.323, allocations: 3.712 MB / 0.8418 GB, free: 9.855 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003845/1.327, allocations: 262.9 kB / 0.842 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02308/1.35, allocations: 10.62 MB / 0.8524 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002566/1.353, allocations: 1.954 MB / 0.8543 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001844/1.354, allocations: 312.9 kB / 0.8546 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001277/1.356, allocations: 187.4 kB / 0.8548 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of SimCode: time 1.243e-06/1.356, allocations: 0 / 0.8548 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of Templates: time 0.3249/1.681, allocations: 83.39 MB / 0.9362 GB, free: 171.4 MB / 0.573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & ./OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)