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.005265/0.005265, allocations: 109.3 kB / 15.74 MB, free: 5.578 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.336/1.336, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001396/0.001396, allocations: 188.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4499/0.4499, allocations: 78.52 MB / 418.4 MB, free: 3.105 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 83.88 kB / 0.5536 GB, free: 0.957 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3042, allocations: 68.16 MB / 0.6202 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01074/0.315, allocations: 14.96 MB / 0.6348 GB, free: 11.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008223/0.3233, allocations: 4.608 MB / 0.6393 GB, free: 6.594 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002172/0.3255, allocations: 28 kB / 0.6393 GB, free: 6.566 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002322/0.3278, allocations: 0.7712 MB / 0.6401 GB, free: 5.789 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007505/0.3353, allocations: 2.569 MB / 0.6426 GB, free: 3.238 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003236/0.3386, allocations: 1.327 MB / 0.6439 GB, free: 1.926 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006747/0.3453, allocations: 4.891 MB / 0.6487 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001656/0.347, allocations: 0.8033 MB / 0.6494 GB, free: 12.18 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002919/0.35, allocations: 1.887 MB / 0.6513 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003395/0.3534, allocations: 2.455 MB / 0.6537 GB, free: 7.82 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0012/0.3546, allocations: 404 kB / 0.6541 GB, free: 7.426 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.3564, allocations: 0.6326 MB / 0.6547 GB, free: 6.793 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001173/0.3576, allocations: 0.9651 MB / 0.6556 GB, free: 5.824 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002803/0.3604, allocations: 2.012 MB / 0.6576 GB, free: 3.801 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005886/0.3663, allocations: 5.328 MB / 0.6628 GB, free: 14.46 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3664, allocations: 4 kB / 0.6628 GB, free: 14.45 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3664, allocations: 0 / 0.6628 GB, free: 14.45 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001421/0.3665, allocations: 0 / 0.6628 GB, free: 14.45 MB / 478.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.03794/0.4045, allocations: 9.507 MB / 0.6721 GB, free: 4.871 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.4045, allocations: 8.031 kB / 0.6721 GB, free: 4.863 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/0.4157, allocations: 1.755 MB / 0.6738 GB, free: 3.102 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004215/0.42, allocations: 2.171 MB / 0.6759 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007432/0.4207, allocations: 0.6663 MB / 0.6766 GB, free: 116 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008552/0.4216, allocations: 243.9 kB / 0.6768 GB, free: 15.87 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006848/0.4285, allocations: 2.689 MB / 0.6794 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.707e-05/0.4285, allocations: 0 / 0.6794 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003336/0.4289, allocations: 76 kB / 0.6795 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.274e-05/0.4289, allocations: 44 kB / 0.6795 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00653/0.4355, allocations: 2.838 MB / 0.6823 GB, free: 10.21 MB / 494.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.02112/0.4566, allocations: 11 MB / 0.6931 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0116/0.4682, allocations: 4.979 MB / 0.6979 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004167/0.4724, allocations: 1.931 MB / 0.6998 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003839/0.4728, allocations: 41.95 kB / 0.6998 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.4729, allocations: 60.56 kB / 0.6999 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=249): time 5.28e-06/0.4729, allocations: 4 kB / 0.6999 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=249): time 0.1226/0.5956, allocations: 29.55 MB / 0.7288 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.5957, allocations: 81.34 kB / 0.7288 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005818/0.6015, allocations: 2.91 MB / 0.7317 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009359/0.6025, allocations: 77.7 kB / 0.7318 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001433/0.6039, allocations: 1.256 MB / 0.733 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001638/0.6056, allocations: 0.8936 MB / 0.7339 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002969/0.6086, allocations: 0.7521 MB / 0.7346 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.6087, allocations: 305.1 kB / 0.7349 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005462/0.6142, allocations: 2.284 MB / 0.7371 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00575/0.62, allocations: 2.679 MB / 0.7397 GB, free: 14.44 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/0.6308, allocations: 4.851 MB / 0.7445 GB, free: 9.512 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.123e-05/0.6308, allocations: 7.938 kB / 0.7445 GB, free: 9.504 MB / 0.545 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01701/0.6479, allocations: 7.221 MB / 0.7515 GB, free: 2.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.6479, allocations: 8 kB / 0.7515 GB, free: 2.262 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.6479, allocations: 8 kB / 0.7515 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01854/0.6665, allocations: 5.737 MB / 0.7571 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003606/0.6701, allocations: 0.6632 MB / 0.7578 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01469/0.6848, allocations: 5.443 MB / 0.7631 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004663/0.6895, allocations: 0.5079 MB / 0.7636 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007393/0.6903, allocations: 140 kB / 0.7637 GB, free: 5.727 MB / 0.5606 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.001716/0.692, allocations: 0.5245 MB / 0.7642 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009799/0.693, allocations: 335.8 kB / 0.7646 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.326/1.019, allocations: 10.52 MB / 0.7748 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.461e-05/1.019, allocations: 24.72 kB / 0.7749 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/1.019, allocations: 5.312 kB / 0.7749 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.433e-05/1.019, allocations: 11.64 kB / 0.7749 GB, free: 130.7 MB / 0.5606 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.03709/1.056, allocations: 14.62 MB / 0.7892 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.227e-05/1.056, allocations: 3.844 kB / 0.7892 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/1.058, allocations: 257.6 kB / 0.7894 GB, free: 126 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01381/1.072, allocations: 4.765 MB / 0.7941 GB, free: 124 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006086/1.072, allocations: 54.94 kB / 0.7941 GB, free: 124 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0455/1.118, allocations: 21.45 MB / 0.8151 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.118, allocations: 0 / 0.8151 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03375/1.152, allocations: 12.81 MB / 0.8276 GB, free: 90.63 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/1.153, allocations: 496.7 kB / 0.828 GB, free: 90.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009742/1.154, allocations: 47.75 kB / 0.8281 GB, free: 90.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003206/1.157, allocations: 251.7 kB / 0.8283 GB, free: 89.87 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001972/1.159, allocations: 0.5179 MB / 0.8288 GB, free: 89.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003506/1.159, allocations: 67.98 kB / 0.8289 GB, free: 89.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002764/1.162, allocations: 1.873 MB / 0.8307 GB, free: 87.42 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.71e-07/1.162, allocations: 0 / 0.8307 GB, free: 87.42 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003652/1.166, allocations: 1.128 MB / 0.8318 GB, free: 86.32 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.0005987/1.167, allocations: 178.8 kB / 0.832 GB, free: 86.15 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01532/1.182, allocations: 6.156 MB / 0.838 GB, free: 79.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.182, allocations: 0 / 0.838 GB, free: 79.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01028/1.192, allocations: 3.792 MB / 0.8417 GB, free: 76.17 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00391/1.196, allocations: 269.6 kB / 0.842 GB, free: 75.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/1.208, allocations: 6.276 MB / 0.8481 GB, free: 69.64 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/1.209, allocations: 1.849 MB / 0.8499 GB, free: 67.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001292/1.211, allocations: 284.9 kB / 0.8502 GB, free: 67.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007081/1.211, allocations: 187.4 kB / 0.8504 GB, free: 67.3 MB / 0.5606 GB Notification: Performance of SimCode: time 8.12e-07/1.211, allocations: 4 kB / 0.8504 GB, free: 67.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.08044/1.292, allocations: 61.81 MB / 0.9107 GB, free: 5.488 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)