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.001534/0.001534, allocations: 169 kB / 7.645 MB, free: 1.434 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.349/1.349, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.0009018/0.0009017, allocations: 92.44 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4399/0.4399, allocations: 78.07 MB / 409.3 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.441e-05/1.435e-05, allocations: 4 kB / 484.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1327, allocations: 69.36 MB / 0.5413 GB, free: 6.832 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3964/0.5291, allocations: 103.3 MB / 0.6421 GB, free: 12.29 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001812/0.5293, allocations: 69.05 kB / 0.6422 GB, free: 12.23 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2384/0.7677, allocations: 94.48 MB / 0.7345 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7678, allocations: 4 kB / 0.7345 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003307/0.7681, allocations: 56 kB / 0.7345 GB, free: 13.34 MB / 0.5417 GB 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.01395/0.7821, allocations: 3.919 MB / 0.7383 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.7822, allocations: 8.031 kB / 0.7384 GB, free: 9.352 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008184/0.7904, allocations: 1.275 MB / 0.7396 GB, free: 8.07 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005906/0.7963, allocations: 1.83 MB / 0.7414 GB, free: 6.184 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009819/0.7974, allocations: 0.5872 MB / 0.742 GB, free: 5.504 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001058/0.7984, allocations: 125 kB / 0.7421 GB, free: 5.383 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005431/0.8039, allocations: 2.206 MB / 0.7442 GB, free: 3.176 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005774/0.8097, allocations: 1.941 MB / 0.7461 GB, free: 1.227 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.425e-05/0.8098, allocations: 0 / 0.7461 GB, free: 1.227 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004384/0.8102, allocations: 7.953 kB / 0.7461 GB, free: 1.219 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.384e-05/0.8103, allocations: 48 kB / 0.7462 GB, free: 1.172 MB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or 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.02417/0.8345, allocations: 10.31 MB / 0.7563 GB, free: 6.34 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01067/0.8452, allocations: 4.764 MB / 0.7609 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3458/1.191, allocations: 1.427 MB / 0.7623 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006341/1.192, allocations: 43.03 kB / 0.7623 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/1.192, allocations: 59.12 kB / 0.7624 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=249): time 5.992e-06/1.192, allocations: 0 / 0.7624 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=249): time 0.03289/1.225, allocations: 10.63 MB / 0.7728 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/1.225, allocations: 83.19 kB / 0.7729 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00384/1.229, allocations: 2.163 MB / 0.775 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007604/1.229, allocations: 31.75 kB / 0.775 GB, free: 109.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009714/1.23, allocations: 1.379 MB / 0.7763 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001183/1.232, allocations: 0.8326 MB / 0.7772 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/1.232, allocations: 0 / 0.7772 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.232, allocations: 393.1 kB / 0.7775 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002077/1.234, allocations: 1.12 MB / 0.7786 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002063/1.236, allocations: 1.369 MB / 0.78 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002381/1.238, allocations: 1.248 MB / 0.7812 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/1.238, allocations: 5.547 kB / 0.7812 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.008376/1.247, allocations: 3.933 MB / 0.785 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/1.247, allocations: 11.06 kB / 0.785 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/1.247, allocations: 5.344 kB / 0.785 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01568/1.263, allocations: 4.985 MB / 0.7899 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/1.264, allocations: 304.5 kB / 0.7902 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0102/1.275, allocations: 4.798 MB / 0.7949 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003971/1.279, allocations: 418.8 kB / 0.7953 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002782/1.279, allocations: 82.08 kB / 0.7954 GB, free: 107.2 MB / 0.5573 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 169 * 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 {62 60} Notification: Performance of prepare postOptimizeDAE: time 0.0004808/1.279, allocations: 132.8 kB / 0.7955 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007186/1.28, allocations: 337.8 kB / 0.7958 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03321/1.313, allocations: 10.89 MB / 0.8064 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-05/1.313, allocations: 28.73 kB / 0.8065 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/1.313, allocations: 1.312 kB / 0.8065 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001032/1.313, allocations: 12.23 kB / 0.8065 GB, free: 106.3 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.03952/1.353, allocations: 14.83 MB / 0.821 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.19e-05/1.353, allocations: 0 / 0.821 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/1.355, allocations: 268.6 kB / 0.8212 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01566/1.371, allocations: 4.388 MB / 0.8255 GB, free: 104.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008309/1.372, allocations: 14.08 kB / 0.8255 GB, free: 104.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04563/1.417, allocations: 16.25 MB / 0.8414 GB, free: 97.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.417, allocations: 0.6094 kB / 0.8414 GB, free: 97.84 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03416/1.451, allocations: 12.84 MB / 0.8539 GB, free: 94.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001535/1.453, allocations: 499.4 kB / 0.8544 GB, free: 94.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001148/1.454, allocations: 8.531 kB / 0.8544 GB, free: 94.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003485/1.458, allocations: 293.4 kB / 0.8547 GB, free: 94.04 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001718/1.459, allocations: 0.5229 MB / 0.8552 GB, free: 93.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000196/1.46, allocations: 70.48 kB / 0.8553 GB, free: 93.93 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002592/1.462, allocations: 1.632 MB / 0.8569 GB, free: 93.23 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.462, allocations: 0 / 0.8569 GB, free: 93.23 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003247/1.465, allocations: 0.882 MB / 0.8577 GB, free: 93.12 MB / 0.5573 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 () * 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 (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 {54 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006342/1.466, allocations: 299.6 kB / 0.858 GB, free: 92.88 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01133/1.477, allocations: 4.457 MB / 0.8624 GB, free: 88.84 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.477, allocations: 0 / 0.8624 GB, free: 88.84 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.009746/1.487, allocations: 3.548 MB / 0.8658 GB, free: 85.73 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/1.49, allocations: 217.7 kB / 0.866 GB, free: 85.53 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008175/1.498, allocations: 4.945 MB / 0.8709 GB, free: 81.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/1.499, allocations: 1.902 MB / 0.8727 GB, free: 79.62 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001325/1.5, allocations: 239.8 kB / 0.873 GB, free: 79.46 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006171/1.501, allocations: 159.5 kB / 0.8731 GB, free: 79.32 MB / 0.5573 GB Notification: Performance of SimCode: time 1.011e-06/1.501, allocations: 0 / 0.8731 GB, free: 79.32 MB / 0.5573 GB Notification: Performance of Templates: time 0.06105/1.562, allocations: 45.48 MB / 0.9175 GB, free: 47.14 MB / 0.5573 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)