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.0008045/0.0008045, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.321/1.321, allocations: 223.3 MB / 239 MB, free: 5.434 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.001473/0.001474, allocations: 172.5 kB / 290.3 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4537/0.4537, allocations: 78.55 MB / 419.9 MB, free: 4.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003525, allocations: 8 kB / 499.8 MB, free: 6.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1255, allocations: 69.36 MB / 0.5558 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.2402/0.3657, allocations: 13.99 MB / 0.5695 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007109/0.3729, allocations: 4.478 MB / 0.5738 GB, free: 31.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.3743, allocations: 30.22 kB / 0.5739 GB, free: 31.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.3755, allocations: 0.5294 MB / 0.5744 GB, free: 31.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004516/0.38, allocations: 2.012 MB / 0.5763 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.3824, allocations: 1.094 MB / 0.5774 GB, free: 29.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004177/0.3866, allocations: 4.35 MB / 0.5817 GB, free: 27.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009953/0.3876, allocations: 0.6582 MB / 0.5823 GB, free: 26.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001842/0.3894, allocations: 1.558 MB / 0.5838 GB, free: 26.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001968/0.3914, allocations: 2.133 MB / 0.5859 GB, free: 25.35 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003161/0.3917, allocations: 187.7 kB / 0.5861 GB, free: 25.35 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007346/0.3925, allocations: 397.4 kB / 0.5865 GB, free: 25.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004436/0.3929, allocations: 0.7303 MB / 0.5872 GB, free: 24.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004234/0.3934, allocations: 0.6017 MB / 0.5878 GB, free: 24.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002619/0.396, allocations: 4.059 MB / 0.5917 GB, free: 23.4 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.396, allocations: 5.25 kB / 0.5917 GB, free: 23.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.396, allocations: 0 / 0.5917 GB, free: 23.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.81e-05/0.3961, allocations: 0 / 0.5917 GB, free: 23.39 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.03332/0.4294, allocations: 9.12 MB / 0.6006 GB, free: 20.72 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/0.4295, allocations: 9.625 kB / 0.6007 GB, free: 20.72 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01159/0.4411, allocations: 1.77 MB / 0.6024 GB, free: 20.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004038/0.4451, allocations: 2.056 MB / 0.6044 GB, free: 19.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006031/0.4457, allocations: 0.6962 MB / 0.6051 GB, free: 18.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004107/0.4462, allocations: 244 kB / 0.6053 GB, free: 18.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005697/0.4519, allocations: 2.851 MB / 0.6081 GB, free: 17.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.299e-05/0.4519, allocations: 0 / 0.6081 GB, free: 17.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002006/0.4521, allocations: 76.41 kB / 0.6082 GB, free: 17.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.959e-05/0.4522, allocations: 46.81 kB / 0.6082 GB, free: 17.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005865/0.458, allocations: 3.019 MB / 0.6112 GB, free: 16.43 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.01641/0.4745, allocations: 11.19 MB / 0.6221 GB, free: 8.496 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0102/0.4847, allocations: 5.666 MB / 0.6276 GB, free: 4.121 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003496/0.4882, allocations: 2.099 MB / 0.6297 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000252/0.4885, allocations: 45.95 kB / 0.6297 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.4885, allocations: 56.56 kB / 0.6298 GB, free: 1.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 4.639e-06/0.4885, allocations: 0 / 0.6298 GB, free: 1.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=249): time 0.1174/0.606, allocations: 35.43 MB / 0.6644 GB, free: 14.41 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.6061, allocations: 77.41 kB / 0.6644 GB, free: 14.32 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004351/0.6104, allocations: 2.874 MB / 0.6672 GB, free: 11.45 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008637/0.6113, allocations: 85.7 kB / 0.6673 GB, free: 11.36 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009434/0.6123, allocations: 1.26 MB / 0.6685 GB, free: 10.08 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001048/0.6133, allocations: 0.9013 MB / 0.6694 GB, free: 9.168 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000262/0.6136, allocations: 80 kB / 0.6695 GB, free: 9.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.6138, allocations: 462.9 kB / 0.6699 GB, free: 8.629 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004543/0.6183, allocations: 2.446 MB / 0.6723 GB, free: 6.176 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004684/0.623, allocations: 2.848 MB / 0.6751 GB, free: 3.234 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004637/0.6277, allocations: 2.628 MB / 0.6777 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.6277, allocations: 4 kB / 0.6777 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01448/0.6422, allocations: 7.697 MB / 0.6852 GB, free: 8.887 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.6422, allocations: 4.688 kB / 0.6852 GB, free: 8.883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.6423, allocations: 8 kB / 0.6852 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01823/0.6605, allocations: 6.499 MB / 0.6916 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003614/0.6642, allocations: 0.6631 MB / 0.6922 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/0.6774, allocations: 6.15 MB / 0.6982 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005131/0.6826, allocations: 0.5979 MB / 0.6988 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004209/0.683, allocations: 136 kB / 0.6989 GB, free: 10.8 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 (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.001327/0.6844, allocations: 0.5207 MB / 0.6994 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006843/0.685, allocations: 335.7 kB / 0.6998 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0331/0.7181, allocations: 12.86 MB / 0.7123 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.119e-05/0.7182, allocations: 24 kB / 0.7123 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.7182, allocations: 0 / 0.7123 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-05/0.7183, allocations: 11.95 kB / 0.7123 GB, free: 12.97 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.04112/0.7594, allocations: 16.98 MB / 0.7289 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.041e-05/0.7595, allocations: 1.219 kB / 0.7289 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001831/0.7614, allocations: 263.6 kB / 0.7292 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01619/0.7776, allocations: 5.573 MB / 0.7346 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005378/0.7782, allocations: 55.98 kB / 0.7347 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04858/0.8267, allocations: 22 MB / 0.7562 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.8268, allocations: 0 / 0.7562 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03972/0.8665, allocations: 15.31 MB / 0.7711 GB, free: 260 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2738/1.14, allocations: 0.4968 MB / 0.7716 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001525/1.142, allocations: 46.34 kB / 0.7716 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00398/1.146, allocations: 338.2 kB / 0.772 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00218/1.148, allocations: 0.5191 MB / 0.7725 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004967/1.149, allocations: 63.56 kB / 0.7725 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0034/1.152, allocations: 1.852 MB / 0.7743 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.11e-07/1.152, allocations: 1.781 kB / 0.7743 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004637/1.157, allocations: 1.122 MB / 0.7754 GB, free: 168.2 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 (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.0004193/1.157, allocations: 173.2 kB / 0.7756 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01548/1.173, allocations: 6.811 MB / 0.7823 GB, free: 168 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/1.173, allocations: 0 / 0.7823 GB, free: 168 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01017/1.183, allocations: 4.262 MB / 0.7864 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002477/1.185, allocations: 269.1 kB / 0.7867 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/1.196, allocations: 7.391 MB / 0.7939 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/1.197, allocations: 1.845 MB / 0.7957 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001373/1.199, allocations: 299.1 kB / 0.796 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006806/1.2, allocations: 177.1 kB / 0.7961 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/1.2, allocations: 0 / 0.7961 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.07994/1.279, allocations: 52.34 MB / 0.8473 GB, free: 132.9 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: