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.001058/0.001058, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.297/1.297, allocations: 222.9 MB / 239 MB, free: 4.719 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.002207/0.002207, allocations: 192.2 kB / 289.3 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.4527/0.4527, allocations: 78.51 MB / 417.9 MB, free: 3.309 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 75.88 kB / 496.9 MB, free: 6.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1554, allocations: 68.18 MB / 0.5519 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.3011/0.4566, allocations: 15.75 MB / 0.5673 GB, free: 30.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.4685, allocations: 4.72 MB / 0.5719 GB, free: 28.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005862/0.4744, allocations: 29.97 kB / 0.5719 GB, free: 28.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003282/0.4777, allocations: 0.6126 MB / 0.5725 GB, free: 28.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008279/0.486, allocations: 2.157 MB / 0.5746 GB, free: 27.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004145/0.4902, allocations: 1.24 MB / 0.5758 GB, free: 27.67 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007696/0.4979, allocations: 4.869 MB / 0.5806 GB, free: 26.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/0.4994, allocations: 0.8026 MB / 0.5813 GB, free: 25.97 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003302/0.5027, allocations: 1.886 MB / 0.5832 GB, free: 25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003316/0.506, allocations: 2.455 MB / 0.5856 GB, free: 23.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001017/0.507, allocations: 403.4 kB / 0.586 GB, free: 23.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.5089, allocations: 0.6189 MB / 0.5866 GB, free: 23.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007034/0.5096, allocations: 0.9775 MB / 0.5875 GB, free: 23.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002362/0.512, allocations: 2.021 MB / 0.5895 GB, free: 21.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005891/0.5179, allocations: 5.276 MB / 0.5947 GB, free: 19.44 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.5179, allocations: 1.094 kB / 0.5947 GB, free: 19.44 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5179, allocations: 0 / 0.5947 GB, free: 19.44 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001702/0.5181, allocations: 0 / 0.5947 GB, free: 19.44 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.04262/0.5607, allocations: 9.509 MB / 0.6039 GB, free: 16.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.5608, allocations: 9.344 kB / 0.604 GB, free: 16.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01178/0.5726, allocations: 1.753 MB / 0.6057 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005424/0.578, allocations: 2.175 MB / 0.6078 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000743/0.5788, allocations: 0.6656 MB / 0.6084 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001025/0.5798, allocations: 243.6 kB / 0.6087 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006738/0.5866, allocations: 2.682 MB / 0.6113 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.165e-05/0.5867, allocations: 2.188 kB / 0.6113 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002196/0.5869, allocations: 78.78 kB / 0.6114 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.942e-05/0.587, allocations: 47.5 kB / 0.6114 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006667/0.5936, allocations: 2.83 MB / 0.6142 GB, free: 11.97 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.02269/0.6163, allocations: 11.06 MB / 0.625 GB, free: 3.898 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01088/0.6273, allocations: 4.971 MB / 0.6298 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00441/0.6317, allocations: 1.932 MB / 0.6317 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003339/0.6321, allocations: 49.95 kB / 0.6318 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.6321, allocations: 64.5 kB / 0.6318 GB, free: 13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 3.887e-06/0.6321, allocations: 1.219 kB / 0.6318 GB, free: 13 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1226/0.7548, allocations: 29.54 MB / 0.6607 GB, free: 15.38 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.7549, allocations: 77.41 kB / 0.6608 GB, free: 15.29 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005138/0.76, allocations: 2.906 MB / 0.6636 GB, free: 12.39 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001173/0.7612, allocations: 81.7 kB / 0.6637 GB, free: 12.3 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001169/0.7624, allocations: 1.256 MB / 0.6649 GB, free: 11.03 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00176/0.7642, allocations: 0.8975 MB / 0.6658 GB, free: 10.12 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001623/0.7658, allocations: 0.756 MB / 0.6665 GB, free: 9.352 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.7659, allocations: 301.1 kB / 0.6668 GB, free: 9.055 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004838/0.7708, allocations: 2.28 MB / 0.669 GB, free: 6.766 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005746/0.7766, allocations: 2.68 MB / 0.6716 GB, free: 3.992 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/0.7874, allocations: 4.847 MB / 0.6764 GB, free: 15.06 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.163e-05/0.7875, allocations: 3.938 kB / 0.6764 GB, free: 15.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01756/0.805, allocations: 7.235 MB / 0.6834 GB, free: 7.809 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.8051, allocations: 5.406 kB / 0.6834 GB, free: 7.805 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.07e-05/0.8051, allocations: 9.547 kB / 0.6835 GB, free: 7.797 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01914/0.8243, allocations: 5.733 MB / 0.6891 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003803/0.8281, allocations: 0.6632 MB / 0.6897 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/0.8421, allocations: 5.45 MB / 0.695 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005981/0.8482, allocations: 0.5079 MB / 0.6955 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009444/0.8491, allocations: 137.3 kB / 0.6957 GB, free: 11.27 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.001772/0.8509, allocations: 0.5206 MB / 0.6962 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001215/0.8522, allocations: 331.8 kB / 0.6965 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03509/0.8872, allocations: 10.53 MB / 0.7068 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.295e-05/0.8873, allocations: 29.53 kB / 0.7068 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.8873, allocations: 4.938 kB / 0.7068 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.39e-05/0.8874, allocations: 15.95 kB / 0.7068 GB, free: 15.76 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.04156/0.929, allocations: 14.65 MB / 0.7211 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.312e-05/0.9291, allocations: 0 / 0.7211 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001807/0.9309, allocations: 251.7 kB / 0.7214 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01607/0.947, allocations: 4.769 MB / 0.726 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000782/0.9478, allocations: 57.05 kB / 0.7261 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05456/1.002, allocations: 21.48 MB / 0.747 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.002, allocations: 4 kB / 0.747 GB, free: 6.117 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04022/1.043, allocations: 12.81 MB / 0.7595 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001968/1.045, allocations: 0.4884 MB / 0.76 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001719/1.046, allocations: 56.95 kB / 0.7601 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004372/1.051, allocations: 247.7 kB / 0.7603 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002365/1.053, allocations: 0.5217 MB / 0.7608 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003141/1.054, allocations: 64.98 kB / 0.7609 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003318/1.057, allocations: 1.873 MB / 0.7627 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/1.057, allocations: 1.312 kB / 0.7627 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005449/1.062, allocations: 1.124 MB / 0.7638 GB, free: 4.828 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.0007097/1.063, allocations: 183.9 kB / 0.764 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2736/1.337, allocations: 6.213 MB / 0.7701 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/1.337, allocations: 0.8125 kB / 0.7701 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01187/1.349, allocations: 3.794 MB / 0.7738 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00304/1.352, allocations: 268.7 kB / 0.774 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/1.363, allocations: 7.47 MB / 0.7813 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/1.364, allocations: 1.842 MB / 0.7831 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001475/1.365, allocations: 291.7 kB / 0.7834 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006731/1.366, allocations: 192.6 kB / 0.7836 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of SimCode: time 6.62e-07/1.366, allocations: 0 / 0.7836 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.09571/1.462, allocations: 58.68 MB / 0.8409 GB, free: 135.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)