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.001113/0.001113, allocations: 174.1 kB / 12.73 MB, free: 2.59 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.284/1.284, allocations: 221.4 MB / 234.6 MB, free: 14.4 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.000825/0.0008252, allocations: 82.77 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4389/0.4389, allocations: 78.02 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.103e-05/3.106e-05, allocations: 3.984 kB / 491.7 MB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3942, allocations: 69.34 MB / 0.5479 GB, free: 20.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1867/0.581, allocations: 103.9 MB / 0.6494 GB, free: 12.46 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.5814, allocations: 71.97 kB / 0.6495 GB, free: 12.39 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5143/1.096, allocations: 95.93 MB / 0.7432 GB, free: 64.53 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.242e-06/1.096, allocations: 0 / 0.7432 GB, free: 64.53 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001343/1.096, allocations: 56 kB / 0.7432 GB, free: 64.48 MB / 490.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.01036/1.106, allocations: 3.927 MB / 0.7471 GB, free: 60.49 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/1.106, allocations: 11.97 kB / 0.7471 GB, free: 60.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007188/1.113, allocations: 1.288 MB / 0.7483 GB, free: 59.19 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003502/1.117, allocations: 1.823 MB / 0.7501 GB, free: 57.31 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005329/1.118, allocations: 0.6653 MB / 0.7508 GB, free: 56.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004095/1.118, allocations: 199.9 kB / 0.751 GB, free: 56.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0036/1.122, allocations: 2.233 MB / 0.7532 GB, free: 54.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.501e-05/1.122, allocations: 0 / 0.7532 GB, free: 54.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002194/1.122, allocations: 76 kB / 0.7532 GB, free: 54.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/1.122, allocations: 47.98 kB / 0.7533 GB, free: 53.99 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003433/1.125, allocations: 2.304 MB / 0.7555 GB, free: 51.69 MB / 490.7 MB 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.0166/1.142, allocations: 10.64 MB / 0.7659 GB, free: 40.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008831/1.151, allocations: 4.858 MB / 0.7707 GB, free: 35.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002103/1.153, allocations: 1.499 MB / 0.7721 GB, free: 33.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002701/1.153, allocations: 37.95 kB / 0.7722 GB, free: 33.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/1.153, allocations: 60.5 kB / 0.7722 GB, free: 33.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 4.949e-06/1.153, allocations: 4 kB / 0.7722 GB, free: 33.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=249): time 0.02991/1.183, allocations: 10.8 MB / 0.7828 GB, free: 23.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/1.183, allocations: 77.41 kB / 0.7828 GB, free: 22.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003631/1.187, allocations: 2.366 MB / 0.7851 GB, free: 20.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005722/1.187, allocations: 65.7 kB / 0.7852 GB, free: 20.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007244/1.188, allocations: 1.372 MB / 0.7865 GB, free: 19.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008147/1.189, allocations: 0.8662 MB / 0.7874 GB, free: 18.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/1.189, allocations: 47.94 kB / 0.7874 GB, free: 18.19 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/1.189, allocations: 394.5 kB / 0.7878 GB, free: 17.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/1.191, allocations: 1.169 MB / 0.789 GB, free: 16.62 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/1.193, allocations: 1.431 MB / 0.7903 GB, free: 15.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/1.195, allocations: 1.269 MB / 0.7916 GB, free: 13.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/1.195, allocations: 8 kB / 0.7916 GB, free: 13.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.006698/1.202, allocations: 4.136 MB / 0.7956 GB, free: 9.621 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/1.202, allocations: 8 kB / 0.7956 GB, free: 9.613 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/1.202, allocations: 4 kB / 0.7956 GB, free: 9.609 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01537/1.217, allocations: 5.363 MB / 0.8009 GB, free: 4.238 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/1.218, allocations: 311.5 kB / 0.8012 GB, free: 3.934 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008251/1.227, allocations: 4.39 MB / 0.8055 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004012/1.231, allocations: 469.8 kB / 0.8059 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002665/1.231, allocations: 83.95 kB / 0.806 GB, free: 14.97 MB / 0.4948 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.0005372/1.232, allocations: 212.7 kB / 0.8062 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008393/1.232, allocations: 339.8 kB / 0.8065 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03324/1.266, allocations: 11.13 MB / 0.8174 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.656e-05/1.266, allocations: 24 kB / 0.8174 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/1.266, allocations: 0 / 0.8174 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.958e-05/1.266, allocations: 11.95 kB / 0.8174 GB, free: 3.176 MB / 0.4948 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.03908/1.305, allocations: 15.26 MB / 0.8323 GB, free: 3.641 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.227e-05/1.305, allocations: 3.953 kB / 0.8323 GB, free: 3.637 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00169/1.307, allocations: 263.6 kB / 0.8326 GB, free: 3.379 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01403/1.321, allocations: 4.407 MB / 0.8369 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006349/1.321, allocations: 51.98 kB / 0.8369 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03649/1.358, allocations: 16.44 MB / 0.853 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.358, allocations: 0 / 0.853 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03639/1.394, allocations: 13.04 MB / 0.8657 GB, free: 1.188 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00163/1.396, allocations: 0.4885 MB / 0.8662 GB, free: 0.6758 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001082/1.397, allocations: 55.94 kB / 0.8663 GB, free: 0.6211 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003741/1.401, allocations: 339.7 kB / 0.8666 GB, free: 296 kB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002079/1.403, allocations: 0.5138 MB / 0.8671 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003023/1.403, allocations: 67.92 kB / 0.8671 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002986/1.406, allocations: 1.813 MB / 0.8689 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/1.406, allocations: 0 / 0.8689 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002868/1.409, allocations: 0.9831 MB / 0.8699 GB, free: 12.92 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.0006365/1.41, allocations: 343.2 kB / 0.8702 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01244/1.422, allocations: 4.594 MB / 0.8747 GB, free: 7.949 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.422, allocations: 0 / 0.8747 GB, free: 7.949 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01009/1.432, allocations: 3.658 MB / 0.8783 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/1.434, allocations: 265.5 kB / 0.8785 GB, free: 4.008 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008342/1.443, allocations: 5.053 MB / 0.8835 GB, free: 14.9 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/1.444, allocations: 1.91 MB / 0.8853 GB, free: 12.96 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001128/1.445, allocations: 241.5 kB / 0.8855 GB, free: 12.72 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000626/1.446, allocations: 159.4 kB / 0.8857 GB, free: 12.56 MB / 0.573 GB Notification: Performance of SimCode: time 2.205e-06/1.446, allocations: 0 / 0.8857 GB, free: 12.56 MB / 0.573 GB Notification: Performance of Templates: time 0.3259/1.772, allocations: 50.85 MB / 0.9354 GB, free: 159 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)