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.001106/0.001106, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 239.5 MB, free: 4.73 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.001518/0.001518, allocations: 188.5 kB / 289.8 MB, free: 2.477 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5158/0.5158, allocations: 91.91 MB / 431.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 75.88 kB / 0.5018 GB, free: 8.164 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3911, allocations: 71.27 MB / 0.5714 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01145/0.4027, allocations: 15.79 MB / 0.5869 GB, free: 25.9 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009171/0.4119, allocations: 4.713 MB / 0.5915 GB, free: 22.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003078/0.415, allocations: 32.03 kB / 0.5915 GB, free: 22.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002/0.417, allocations: 0.6229 MB / 0.5921 GB, free: 22.26 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004972/0.422, allocations: 1.653 MB / 0.5937 GB, free: 21.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002699/0.4247, allocations: 1.339 MB / 0.595 GB, free: 20.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005536/0.4303, allocations: 4.241 MB / 0.5992 GB, free: 18.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.4314, allocations: 0.7063 MB / 0.5999 GB, free: 17.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002554/0.434, allocations: 1.588 MB / 0.6014 GB, free: 17.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002429/0.4364, allocations: 2.192 MB / 0.6035 GB, free: 16.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005765/0.437, allocations: 213.6 kB / 0.6037 GB, free: 16.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.4383, allocations: 442.4 kB / 0.6042 GB, free: 16.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005941/0.4389, allocations: 0.7637 MB / 0.6049 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001823/0.4408, allocations: 1.772 MB / 0.6066 GB, free: 14.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004846/0.4456, allocations: 4.132 MB / 0.6107 GB, free: 12.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.4457, allocations: 5 kB / 0.6107 GB, free: 12.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4457, allocations: 0 / 0.6107 GB, free: 12.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001618/0.4458, allocations: 0 / 0.6107 GB, free: 12.98 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.03488/0.4807, allocations: 8.16 MB / 0.6187 GB, free: 10.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.4808, allocations: 10 kB / 0.6187 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01148/0.4923, allocations: 1.75 MB / 0.6204 GB, free: 9.652 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00503/0.4973, allocations: 2.173 MB / 0.6225 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007004/0.4981, allocations: 0.6682 MB / 0.6231 GB, free: 7.703 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000556/0.4986, allocations: 246.1 kB / 0.6234 GB, free: 7.613 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005947/0.5046, allocations: 2.683 MB / 0.626 GB, free: 6.121 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.812e-05/0.5046, allocations: 0 / 0.626 GB, free: 6.121 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000238/0.5049, allocations: 75.31 kB / 0.6261 GB, free: 6.062 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-05/0.505, allocations: 47.44 kB / 0.6261 GB, free: 6.062 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005665/0.5106, allocations: 2.833 MB / 0.6289 GB, free: 3.797 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.01976/0.5304, allocations: 11.06 MB / 0.6397 GB, free: 8.199 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01154/0.542, allocations: 4.979 MB / 0.6445 GB, free: 3.004 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003968/0.546, allocations: 1.928 MB / 0.6464 GB, free: 1.074 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003047/0.5463, allocations: 41.97 kB / 0.6465 GB, free: 1.035 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.815e-05/0.5464, allocations: 60.55 kB / 0.6465 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 4.318e-06/0.5464, allocations: 0 / 0.6465 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1251/0.6715, allocations: 29.56 MB / 0.6754 GB, free: 3.336 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.155e-05/0.6716, allocations: 81.34 kB / 0.6755 GB, free: 3.246 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005274/0.6769, allocations: 2.902 MB / 0.6783 GB, free: 352 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001251/0.6782, allocations: 85.7 kB / 0.6784 GB, free: 260 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001182/0.6794, allocations: 1.256 MB / 0.6796 GB, free: 14.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001605/0.681, allocations: 0.8936 MB / 0.6805 GB, free: 14.08 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001524/0.6825, allocations: 0.7522 MB / 0.6812 GB, free: 13.31 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.6826, allocations: 301.1 kB / 0.6815 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004857/0.6875, allocations: 2.28 MB / 0.6837 GB, free: 10.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005251/0.6928, allocations: 2.68 MB / 0.6863 GB, free: 7.953 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/0.7036, allocations: 4.851 MB / 0.6911 GB, free: 3.023 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-05/0.7036, allocations: 3.938 kB / 0.6911 GB, free: 3.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01974/0.7234, allocations: 7.217 MB / 0.6981 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.384e-05/0.7235, allocations: 12.06 kB / 0.6981 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/0.7235, allocations: 8 kB / 0.6982 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01934/0.7429, allocations: 5.733 MB / 0.7038 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004061/0.747, allocations: 0.6632 MB / 0.7044 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01429/0.7613, allocations: 5.447 MB / 0.7097 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005757/0.7671, allocations: 0.504 MB / 0.7102 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006223/0.7678, allocations: 140 kB / 0.7103 GB, free: 15.25 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.001509/0.7693, allocations: 0.5215 MB / 0.7109 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009615/0.7702, allocations: 331.8 kB / 0.7112 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03492/0.8052, allocations: 10.53 MB / 0.7214 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.251e-05/0.8053, allocations: 31.94 kB / 0.7215 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/0.8053, allocations: 0 / 0.7215 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001026/0.8054, allocations: 11.95 kB / 0.7215 GB, free: 3.742 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.04277/0.8482, allocations: 14.65 MB / 0.7358 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.487e-05/0.8483, allocations: 0 / 0.7358 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001801/0.8501, allocations: 255.6 kB / 0.736 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01613/0.8662, allocations: 4.769 MB / 0.7407 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000801/0.8671, allocations: 51.98 kB / 0.7408 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05154/0.9186, allocations: 19.61 MB / 0.7599 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.9187, allocations: 3.938 kB / 0.7599 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3046/1.223, allocations: 12.81 MB / 0.7724 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001541/1.225, allocations: 498.2 kB / 0.7729 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001329/1.226, allocations: 45.44 kB / 0.7729 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004343/1.231, allocations: 245.4 kB / 0.7732 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002529/1.233, allocations: 0.5067 MB / 0.7737 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004552/1.234, allocations: 64.02 kB / 0.7737 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003688/1.237, allocations: 1.88 MB / 0.7756 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.9e-07/1.237, allocations: 0 / 0.7756 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004459/1.242, allocations: 1.124 MB / 0.7766 GB, free: 160.4 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.0005469/1.242, allocations: 178.5 kB / 0.7768 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01623/1.259, allocations: 6.099 MB / 0.7828 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/1.259, allocations: 1.156 kB / 0.7828 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01146/1.27, allocations: 3.695 MB / 0.7864 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003378/1.274, allocations: 263.2 kB / 0.7866 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/1.287, allocations: 7.519 MB / 0.794 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001536/1.288, allocations: 1.845 MB / 0.7958 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001713/1.29, allocations: 191.3 kB / 0.796 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.453e-06/1.29, allocations: 0 / 0.796 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.07659/1.367, allocations: 55.32 MB / 0.85 GB, free: 119.5 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)