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.001509/0.001509, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 239.2 MB, free: 4.586 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.00128/0.00128, allocations: 192.5 kB / 289.5 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4918/0.4918, allocations: 78.52 MB / 418.2 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001592, allocations: 75.88 kB / 497.4 MB, free: 6.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1592, allocations: 68.17 MB / 0.5523 GB, free: 2.234 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.2838/0.443, allocations: 14.97 MB / 0.567 GB, free: 30.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01156/0.4546, allocations: 4.607 MB / 0.5715 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004245/0.4589, allocations: 29 kB / 0.5715 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002858/0.4618, allocations: 0.7682 MB / 0.5722 GB, free: 28.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007531/0.4694, allocations: 2.416 MB / 0.5746 GB, free: 27.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003262/0.4727, allocations: 1.331 MB / 0.5759 GB, free: 27.62 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006694/0.4794, allocations: 4.876 MB / 0.5807 GB, free: 26.37 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001663/0.4811, allocations: 0.8017 MB / 0.5814 GB, free: 26.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003061/0.4841, allocations: 1.87 MB / 0.5833 GB, free: 25.06 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003396/0.4875, allocations: 2.448 MB / 0.5857 GB, free: 23.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001459/0.489, allocations: 401.2 kB / 0.586 GB, free: 23.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002324/0.4914, allocations: 0.6254 MB / 0.5867 GB, free: 23.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00151/0.4929, allocations: 0.9754 MB / 0.5876 GB, free: 23.13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003858/0.4967, allocations: 2.01 MB / 0.5896 GB, free: 21.76 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005952/0.5027, allocations: 5.277 MB / 0.5947 GB, free: 19.51 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.5027, allocations: 4 kB / 0.5947 GB, free: 19.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5028, allocations: 0 / 0.5947 GB, free: 19.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001697/0.5029, allocations: 1.062 kB / 0.5947 GB, free: 19.5 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.04241/0.5453, allocations: 9.51 MB / 0.604 GB, free: 16.4 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.5454, allocations: 9.438 kB / 0.604 GB, free: 16.4 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01243/0.5578, allocations: 1.754 MB / 0.6057 GB, free: 16.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005464/0.5633, allocations: 2.169 MB / 0.6079 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007114/0.5641, allocations: 0.6703 MB / 0.6085 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007549/0.5648, allocations: 245.6 kB / 0.6087 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00629/0.5711, allocations: 2.685 MB / 0.6114 GB, free: 13.03 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/0.5712, allocations: 0 / 0.6114 GB, free: 13.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002307/0.5714, allocations: 81.25 kB / 0.6114 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.714e-05/0.5715, allocations: 47.03 kB / 0.6115 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006544/0.578, allocations: 2.831 MB / 0.6143 GB, free: 12.03 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.01924/0.5973, allocations: 11.05 MB / 0.625 GB, free: 3.723 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01075/0.6081, allocations: 4.965 MB / 0.6299 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003949/0.612, allocations: 1.935 MB / 0.6318 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002168/0.6123, allocations: 41.95 kB / 0.6318 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.6123, allocations: 65.44 kB / 0.6319 GB, free: 13.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 6.221e-06/0.6123, allocations: 0 / 0.6319 GB, free: 13.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1262/0.7386, allocations: 29.56 MB / 0.6607 GB, free: 15.55 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.7386, allocations: 77.41 kB / 0.6608 GB, free: 15.46 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005122/0.7438, allocations: 2.903 MB / 0.6637 GB, free: 12.56 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007136/0.7445, allocations: 81.7 kB / 0.6637 GB, free: 12.47 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001402/0.7459, allocations: 1.26 MB / 0.665 GB, free: 11.2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001342/0.7473, allocations: 0.8975 MB / 0.6658 GB, free: 10.29 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001655/0.7489, allocations: 0.7482 MB / 0.6666 GB, free: 9.527 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.393e-05/0.7491, allocations: 305.1 kB / 0.6669 GB, free: 9.227 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004839/0.7539, allocations: 2.284 MB / 0.6691 GB, free: 6.934 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005011/0.7589, allocations: 2.677 MB / 0.6717 GB, free: 4.164 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009512/0.7684, allocations: 4.853 MB / 0.6764 GB, free: 15.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.7685, allocations: 8.625 kB / 0.6765 GB, free: 15.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01592/0.7844, allocations: 7.224 MB / 0.6835 GB, free: 7.984 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.7845, allocations: 8 kB / 0.6835 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.7845, allocations: 4 kB / 0.6835 GB, free: 7.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01919/0.8037, allocations: 5.734 MB / 0.6891 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003394/0.8071, allocations: 0.6671 MB / 0.6898 GB, free: 1.562 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/0.8211, allocations: 5.45 MB / 0.6951 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00526/0.8264, allocations: 0.505 MB / 0.6956 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003793/0.8268, allocations: 140 kB / 0.6957 GB, free: 11.44 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.001216/0.828, allocations: 0.5284 MB / 0.6962 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006538/0.8287, allocations: 327.8 kB / 0.6966 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03425/0.863, allocations: 10.52 MB / 0.7068 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-05/0.863, allocations: 27.94 kB / 0.7069 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.863, allocations: 0 / 0.7069 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.496e-05/0.8631, allocations: 11.95 kB / 0.7069 GB, free: 15.93 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.04165/0.9048, allocations: 14.66 MB / 0.7212 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.33e-05/0.9048, allocations: 0 / 0.7212 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/0.9066, allocations: 252.8 kB / 0.7214 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01652/0.9231, allocations: 4.769 MB / 0.7261 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006166/0.9238, allocations: 51.98 kB / 0.7261 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05505/0.9788, allocations: 21.48 MB / 0.7471 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.9789, allocations: 5.188 kB / 0.7471 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04167/1.021, allocations: 12.81 MB / 0.7596 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001698/1.022, allocations: 496.1 kB / 0.7601 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008662/1.023, allocations: 48 kB / 0.7601 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003089/1.026, allocations: 257.1 kB / 0.7604 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001834/1.028, allocations: 0.5178 MB / 0.7609 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001901/1.028, allocations: 63.98 kB / 0.7609 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002713/1.031, allocations: 1.877 MB / 0.7628 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.733e-06/1.031, allocations: 0 / 0.7628 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003799/1.035, allocations: 1.132 MB / 0.7639 GB, free: 4.996 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.000481/1.035, allocations: 183 kB / 0.7641 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2657/1.301, allocations: 6.21 MB / 0.7701 GB, free: 172 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.301, allocations: 0.6562 kB / 0.7701 GB, free: 172 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01151/1.313, allocations: 3.799 MB / 0.7738 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/1.315, allocations: 266.4 kB / 0.7741 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009878/1.325, allocations: 6.356 MB / 0.7803 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/1.326, allocations: 1.839 MB / 0.7821 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001413/1.328, allocations: 292.4 kB / 0.7824 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006519/1.328, allocations: 189.1 kB / 0.7826 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of SimCode: time 9.02e-07/1.328, allocations: 2.781 kB / 0.7826 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.09329/1.422, allocations: 61.17 MB / 0.8423 GB, free: 134.1 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)