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.001069/0.001069, allocations: 110.1 kB / 15.99 MB, free: 6.359 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.3/1.3, allocations: 222.9 MB / 239.6 MB, free: 4.707 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.001461/0.001461, allocations: 196.5 kB / 289.9 MB, free: 2.453 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.446/0.446, allocations: 78.52 MB / 418.6 MB, free: 3.297 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 79.88 kB / 497.6 MB, free: 6.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.147, allocations: 68.17 MB / 0.5525 GB, free: 2.488 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.2583/0.4053, allocations: 15.75 MB / 0.5679 GB, free: 30.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009041/0.4144, allocations: 4.714 MB / 0.5725 GB, free: 28.71 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003606/0.418, allocations: 31.84 kB / 0.5725 GB, free: 28.71 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002331/0.4204, allocations: 0.6198 MB / 0.5731 GB, free: 28.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007171/0.4276, allocations: 2.16 MB / 0.5752 GB, free: 27.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003022/0.4306, allocations: 1.244 MB / 0.5764 GB, free: 27.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006591/0.4372, allocations: 4.866 MB / 0.5812 GB, free: 26.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.4383, allocations: 0.7992 MB / 0.582 GB, free: 25.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002324/0.4406, allocations: 1.886 MB / 0.5838 GB, free: 24.97 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002072/0.4427, allocations: 2.448 MB / 0.5862 GB, free: 23.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005872/0.4433, allocations: 402.2 kB / 0.5866 GB, free: 23.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.4447, allocations: 0.6285 MB / 0.5872 GB, free: 23.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006541/0.4453, allocations: 0.9754 MB / 0.5882 GB, free: 23.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001798/0.4471, allocations: 2.014 MB / 0.5901 GB, free: 21.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003931/0.4511, allocations: 4.235 MB / 0.5943 GB, free: 20.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4511, allocations: 0 / 0.5943 GB, free: 20.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4511, allocations: 0 / 0.5943 GB, free: 20.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001124/0.4512, allocations: 0 / 0.5943 GB, free: 20.12 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.03974/0.491, allocations: 9.512 MB / 0.6036 GB, free: 17.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.491, allocations: 10.03 kB / 0.6036 GB, free: 17.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01143/0.5025, allocations: 1.753 MB / 0.6053 GB, free: 16.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004714/0.5072, allocations: 2.166 MB / 0.6074 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007032/0.5079, allocations: 0.6721 MB / 0.608 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007494/0.5087, allocations: 245.5 kB / 0.6083 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006225/0.5149, allocations: 2.683 MB / 0.6109 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.791e-05/0.515, allocations: 1.156 kB / 0.6109 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002152/0.5152, allocations: 75.34 kB / 0.611 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.785e-05/0.5153, allocations: 50.53 kB / 0.611 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006248/0.5215, allocations: 2.833 MB / 0.6138 GB, free: 12.65 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.01898/0.5405, allocations: 11.06 MB / 0.6246 GB, free: 4.613 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01038/0.5509, allocations: 4.966 MB / 0.6294 GB, free: 136 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004048/0.555, allocations: 1.927 MB / 0.6313 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002967/0.5553, allocations: 49.81 kB / 0.6314 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001004/0.5554, allocations: 64.55 kB / 0.6314 GB, free: 14.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 3.757e-06/0.5554, allocations: 1.594 kB / 0.6314 GB, free: 14.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1272/0.6826, allocations: 29.56 MB / 0.6603 GB, free: 468 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.928e-05/0.6827, allocations: 77.41 kB / 0.6604 GB, free: 380 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006217/0.689, allocations: 2.898 MB / 0.6632 GB, free: 13.47 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00106/0.6901, allocations: 85.7 kB / 0.6633 GB, free: 13.38 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001542/0.6916, allocations: 1.256 MB / 0.6645 GB, free: 12.11 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001869/0.6935, allocations: 0.8975 MB / 0.6654 GB, free: 11.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003809/0.6973, allocations: 0.7522 MB / 0.6661 GB, free: 10.44 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.6975, allocations: 301.1 kB / 0.6664 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005827/0.7033, allocations: 2.284 MB / 0.6686 GB, free: 7.848 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006214/0.7096, allocations: 2.677 MB / 0.6712 GB, free: 5.078 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01164/0.7212, allocations: 4.851 MB / 0.676 GB, free: 148 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.163e-05/0.7213, allocations: 3.938 kB / 0.676 GB, free: 144 kB / 478.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.02052/0.7418, allocations: 7.224 MB / 0.683 GB, free: 8.898 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/0.7419, allocations: 8 kB / 0.6831 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/0.7419, allocations: 4 kB / 0.6831 GB, free: 8.887 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01962/0.7616, allocations: 5.742 MB / 0.6887 GB, free: 3.145 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003824/0.7654, allocations: 0.6604 MB / 0.6893 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01585/0.7813, allocations: 5.446 MB / 0.6946 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006105/0.7875, allocations: 0.5086 MB / 0.6951 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001166/0.7887, allocations: 144 kB / 0.6953 GB, free: 12.36 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.002471/0.7912, allocations: 0.5207 MB / 0.6958 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001639/0.7928, allocations: 331.7 kB / 0.6961 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03543/0.8283, allocations: 10.52 MB / 0.7064 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.226e-05/0.8284, allocations: 27.94 kB / 0.7064 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/0.8284, allocations: 3.984 kB / 0.7064 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.243e-05/0.8285, allocations: 13.83 kB / 0.7064 GB, free: 0.8516 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.04617/0.8747, allocations: 14.65 MB / 0.7207 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.793e-05/0.8747, allocations: 0 / 0.7207 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001957/0.8767, allocations: 263.6 kB / 0.721 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01638/0.8931, allocations: 4.769 MB / 0.7256 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007229/0.8939, allocations: 51.98 kB / 0.7257 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0571/0.951, allocations: 21.48 MB / 0.7466 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.951, allocations: 0 / 0.7466 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04169/0.9927, allocations: 12.81 MB / 0.7592 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001671/0.9945, allocations: 496.1 kB / 0.7596 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001598/0.9961, allocations: 52.88 kB / 0.7597 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004412/1.001, allocations: 247.7 kB / 0.7599 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002355/1.003, allocations: 0.5236 MB / 0.7604 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006114/1.004, allocations: 71.86 kB / 0.7605 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003778/1.007, allocations: 1.877 MB / 0.7623 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/1.007, allocations: 0 / 0.7623 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005384/1.013, allocations: 1.12 MB / 0.7634 GB, free: 5.918 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.0008915/1.014, allocations: 183 kB / 0.7636 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2368/1.25, allocations: 6.209 MB / 0.7697 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.251, allocations: 0.5 kB / 0.7697 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01167/1.262, allocations: 3.79 MB / 0.7734 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00295/1.265, allocations: 267.9 kB / 0.7736 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/1.276, allocations: 7.52 MB / 0.781 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/1.277, allocations: 1.845 MB / 0.7828 GB, free: 167 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001356/1.278, allocations: 199 kB / 0.7829 GB, free: 167 MB / 0.5606 GB Notification: Performance of SimCode: time 6.22e-07/1.278, allocations: 0 / 0.7829 GB, free: 167 MB / 0.5606 GB Notification: Performance of Templates: time 0.07572/1.354, allocations: 55.34 MB / 0.837 GB, free: 139.9 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)