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/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.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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.251/1.251, allocations: 222.9 MB / 238.8 MB, free: 4.75 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.001194/0.001194, allocations: 192.4 kB / 289.1 MB, free: 2.488 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.428/0.428, allocations: 78.52 MB / 417.8 MB, free: 3.383 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 76.16 kB / 496.8 MB, free: 6.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1398, allocations: 68.17 MB / 0.5517 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.2653/0.4051, allocations: 15.74 MB / 0.5671 GB, free: 30.83 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009067/0.4142, allocations: 4.734 MB / 0.5717 GB, free: 29.28 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003619/0.4179, allocations: 29.78 kB / 0.5717 GB, free: 29.28 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002438/0.4203, allocations: 0.619 MB / 0.5723 GB, free: 29.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007442/0.4278, allocations: 2.181 MB / 0.5744 GB, free: 28.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002487/0.4303, allocations: 1.231 MB / 0.5757 GB, free: 28.17 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005022/0.4354, allocations: 4.611 MB / 0.5802 GB, free: 26.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.4364, allocations: 0.7122 MB / 0.5808 GB, free: 26.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002191/0.4386, allocations: 1.661 MB / 0.5825 GB, free: 25.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002131/0.4407, allocations: 2.265 MB / 0.5847 GB, free: 24.63 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004275/0.4412, allocations: 214.4 kB / 0.5849 GB, free: 24.63 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008994/0.4421, allocations: 436.5 kB / 0.5853 GB, free: 24.56 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004672/0.4426, allocations: 0.7879 MB / 0.5861 GB, free: 24.08 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001563/0.4441, allocations: 1.811 MB / 0.5878 GB, free: 22.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004543/0.4487, allocations: 5.128 MB / 0.5928 GB, free: 20.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.4487, allocations: 0 / 0.5928 GB, free: 20.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.4487, allocations: 0.5625 kB / 0.5929 GB, free: 20.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001073/0.4488, allocations: 0 / 0.5929 GB, free: 20.77 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.03851/0.4873, allocations: 9.508 MB / 0.6021 GB, free: 17.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.4874, allocations: 8.375 kB / 0.6021 GB, free: 17.67 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/0.4985, allocations: 1.751 MB / 0.6039 GB, free: 17.28 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004711/0.5033, allocations: 2.17 MB / 0.606 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006479/0.5039, allocations: 0.6709 MB / 0.6066 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005663/0.5045, allocations: 239.9 kB / 0.6069 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005819/0.5104, allocations: 2.687 MB / 0.6095 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.451e-05/0.5104, allocations: 0 / 0.6095 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002277/0.5106, allocations: 76.34 kB / 0.6096 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.924e-05/0.5107, allocations: 50.59 kB / 0.6096 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006021/0.5167, allocations: 2.831 MB / 0.6124 GB, free: 13.3 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.01844/0.5352, allocations: 11.06 MB / 0.6232 GB, free: 5.254 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01041/0.5456, allocations: 4.973 MB / 0.628 GB, free: 1.086 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0035/0.5491, allocations: 1.927 MB / 0.6299 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002512/0.5494, allocations: 45.88 kB / 0.6299 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.5494, allocations: 60.56 kB / 0.63 GB, free: 15.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 4.508e-06/0.5495, allocations: 0 / 0.63 GB, free: 15.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1187/0.6682, allocations: 29.56 MB / 0.6589 GB, free: 1.414 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/0.6683, allocations: 85.28 kB / 0.6589 GB, free: 1.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005813/0.6741, allocations: 2.904 MB / 0.6618 GB, free: 14.41 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001068/0.6752, allocations: 85.7 kB / 0.6619 GB, free: 14.32 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001252/0.6765, allocations: 1.252 MB / 0.6631 GB, free: 13.06 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001595/0.6781, allocations: 0.8975 MB / 0.664 GB, free: 12.15 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001704/0.6798, allocations: 0.756 MB / 0.6647 GB, free: 11.38 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.183e-05/0.6799, allocations: 301.1 kB / 0.665 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004485/0.6844, allocations: 2.284 MB / 0.6672 GB, free: 8.793 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004708/0.6891, allocations: 2.674 MB / 0.6698 GB, free: 6.027 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009143/0.6983, allocations: 4.847 MB / 0.6746 GB, free: 1.098 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.356e-05/0.6983, allocations: 7.938 kB / 0.6746 GB, free: 1.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01529/0.7136, allocations: 7.228 MB / 0.6816 GB, free: 9.852 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.7137, allocations: 8 kB / 0.6816 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.7137, allocations: 4 kB / 0.6816 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01849/0.7322, allocations: 5.734 MB / 0.6872 GB, free: 4.102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00355/0.7358, allocations: 0.667 MB / 0.6879 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01363/0.7494, allocations: 5.45 MB / 0.6932 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005189/0.7546, allocations: 0.504 MB / 0.6937 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006294/0.7553, allocations: 136 kB / 0.6938 GB, free: 13.32 MB / 0.4981 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.001565/0.7569, allocations: 0.5207 MB / 0.6943 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009689/0.7578, allocations: 337.1 kB / 0.6947 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03216/0.79, allocations: 10.52 MB / 0.7049 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-05/0.7901, allocations: 29.34 kB / 0.705 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.7901, allocations: 4.875 kB / 0.705 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.586e-05/0.7902, allocations: 11.95 kB / 0.705 GB, free: 1.809 MB / 0.4981 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.0435/0.8337, allocations: 14.65 MB / 0.7193 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.132e-05/0.8337, allocations: 0 / 0.7193 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/0.8354, allocations: 263.6 kB / 0.7195 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01581/0.8513, allocations: 4.761 MB / 0.7242 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006352/0.8519, allocations: 53.67 kB / 0.7242 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05059/0.9025, allocations: 19.6 MB / 0.7434 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.9026, allocations: 8 kB / 0.7434 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0391/0.9417, allocations: 12.81 MB / 0.7559 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/0.9434, allocations: 492.2 kB / 0.7564 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001393/0.9449, allocations: 48 kB / 0.7564 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003878/0.9487, allocations: 248.8 kB / 0.7567 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002244/0.951, allocations: 0.506 MB / 0.7572 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005169/0.9516, allocations: 60.84 kB / 0.7572 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00384/0.9554, allocations: 1.881 MB / 0.759 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9554, allocations: 0 / 0.759 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005121/0.9605, allocations: 1.124 MB / 0.7601 GB, free: 8.777 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.0008539/0.9614, allocations: 183 kB / 0.7603 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01761/0.979, allocations: 6.093 MB / 0.7663 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.9791, allocations: 0 / 0.7663 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.2016/1.181, allocations: 3.702 MB / 0.7699 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002549/1.183, allocations: 262.8 kB / 0.7701 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009434/1.193, allocations: 7.463 MB / 0.7774 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009291/1.194, allocations: 1.844 MB / 0.7792 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001239/1.195, allocations: 295.8 kB / 0.7795 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006539/1.196, allocations: 183.6 kB / 0.7797 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/1.196, allocations: 0 / 0.7797 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.07377/1.269, allocations: 55.17 MB / 0.8336 GB, free: 142.5 MB / 0.5606 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)