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.00132/0.00132, allocations: 101.6 kB / 16.4 MB, free: 6.461 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.465/1.465, allocations: 222.9 MB / 240.1 MB, free: 4.531 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.001724/0.001724, allocations: 188.5 kB / 290.4 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4978/0.4978, allocations: 78.54 MB / 419.1 MB, free: 3.145 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 79.88 kB / 0.5543 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4815/0.4832, allocations: 68.18 MB / 0.6209 GB, free: 9.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01246/0.4957, allocations: 14.95 MB / 0.6355 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01165/0.5074, allocations: 4.604 MB / 0.64 GB, free: 6.613 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004325/0.5118, allocations: 28 kB / 0.64 GB, free: 6.586 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003287/0.5151, allocations: 0.779 MB / 0.6407 GB, free: 5.801 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01018/0.5253, allocations: 2.421 MB / 0.6431 GB, free: 3.395 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00432/0.5297, allocations: 1.33 MB / 0.6444 GB, free: 2.082 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009989/0.5397, allocations: 4.887 MB / 0.6492 GB, free: 13.18 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002141/0.5419, allocations: 0.8072 MB / 0.65 GB, free: 12.34 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004092/0.546, allocations: 1.887 MB / 0.6518 GB, free: 10.44 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004716/0.5507, allocations: 2.455 MB / 0.6542 GB, free: 7.977 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002032/0.5528, allocations: 400 kB / 0.6546 GB, free: 7.586 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002929/0.5557, allocations: 0.6326 MB / 0.6552 GB, free: 6.953 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002025/0.5578, allocations: 0.9728 MB / 0.6562 GB, free: 5.977 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004624/0.5624, allocations: 2.005 MB / 0.6581 GB, free: 3.961 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009033/0.5715, allocations: 5.328 MB / 0.6633 GB, free: 14.62 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.5715, allocations: 0 / 0.6633 GB, free: 14.62 MB / 478.1 MB Notification: Performance of FrontEnd: time 5.511e-06/0.5715, allocations: 4 kB / 0.6633 GB, free: 14.61 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.00026/0.5718, allocations: 3.938 kB / 0.6633 GB, free: 14.61 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.04359/0.6154, allocations: 9.507 MB / 0.6726 GB, free: 5.027 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.6155, allocations: 8.031 kB / 0.6726 GB, free: 5.02 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0125/0.628, allocations: 1.751 MB / 0.6743 GB, free: 3.262 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00615/0.6342, allocations: 2.171 MB / 0.6764 GB, free: 1.031 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009481/0.6351, allocations: 0.6663 MB / 0.6771 GB, free: 280 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001255/0.6364, allocations: 247.8 kB / 0.6773 GB, free: 32 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008812/0.6453, allocations: 2.682 MB / 0.68 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.026e-05/0.6453, allocations: 0 / 0.68 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004966/0.6459, allocations: 80 kB / 0.68 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.788e-05/0.6459, allocations: 44 kB / 0.6801 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007338/0.6533, allocations: 2.834 MB / 0.6828 GB, free: 10.38 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.02544/0.6787, allocations: 11 MB / 0.6936 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01338/0.6921, allocations: 4.979 MB / 0.6984 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004968/0.6972, allocations: 1.931 MB / 0.7003 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004243/0.6976, allocations: 37.89 kB / 0.7004 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.213e-05/0.6977, allocations: 60.56 kB / 0.7004 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=249): time 4.609e-06/0.6977, allocations: 0 / 0.7004 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=249): time 0.1331/0.8308, allocations: 29.56 MB / 0.7293 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.529e-05/0.8309, allocations: 77.41 kB / 0.7294 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006682/0.8376, allocations: 2.91 MB / 0.7322 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001099/0.8387, allocations: 81.7 kB / 0.7323 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001602/0.8403, allocations: 1.253 MB / 0.7335 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001912/0.8423, allocations: 0.8936 MB / 0.7344 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003755/0.846, allocations: 0.756 MB / 0.7351 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.8462, allocations: 301.1 kB / 0.7354 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005976/0.8522, allocations: 2.284 MB / 0.7376 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006294/0.8585, allocations: 2.681 MB / 0.7403 GB, free: 14.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/0.87, allocations: 4.851 MB / 0.745 GB, free: 9.664 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.471e-05/0.8701, allocations: 3.938 kB / 0.745 GB, free: 9.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01971/0.8898, allocations: 7.232 MB / 0.7521 GB, free: 2.414 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.8898, allocations: 4 kB / 0.7521 GB, free: 2.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.8899, allocations: 8 kB / 0.7521 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01999/0.9099, allocations: 5.729 MB / 0.7577 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004135/0.9141, allocations: 0.6632 MB / 0.7583 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01582/0.9299, allocations: 5.443 MB / 0.7636 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006548/0.9365, allocations: 0.5079 MB / 0.7641 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001058/0.9376, allocations: 136 kB / 0.7643 GB, free: 5.891 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.002627/0.9403, allocations: 0.5284 MB / 0.7648 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001542/0.9418, allocations: 335.7 kB / 0.7651 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4555/1.397, allocations: 10.52 MB / 0.7754 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.478e-05/1.398, allocations: 23.5 kB / 0.7754 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.766e-05/1.398, allocations: 0 / 0.7754 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000108/1.398, allocations: 10.45 kB / 0.7754 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.04331/1.441, allocations: 14.62 MB / 0.7897 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.434e-05/1.441, allocations: 0 / 0.7897 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/1.443, allocations: 264.9 kB / 0.7899 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0158/1.459, allocations: 4.76 MB / 0.7946 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007259/1.46, allocations: 47.31 kB / 0.7946 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05078/1.51, allocations: 21.46 MB / 0.8156 GB, free: 103.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/1.51, allocations: 4 kB / 0.8156 GB, free: 103.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03897/1.549, allocations: 12.82 MB / 0.8281 GB, free: 90.81 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002089/1.552, allocations: 0.489 MB / 0.8286 GB, free: 90.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002123/1.554, allocations: 40 kB / 0.8286 GB, free: 90.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004561/1.558, allocations: 251.7 kB / 0.8289 GB, free: 90.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002215/1.561, allocations: 0.5179 MB / 0.8294 GB, free: 89.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001972/1.561, allocations: 63.98 kB / 0.8294 GB, free: 89.47 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002728/1.563, allocations: 1.877 MB / 0.8313 GB, free: 87.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.71e-07/1.563, allocations: 0 / 0.8313 GB, free: 87.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003922/1.567, allocations: 1.122 MB / 0.8324 GB, free: 86.51 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.0005275/1.568, allocations: 181.6 kB / 0.8325 GB, free: 86.33 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01628/1.584, allocations: 6.142 MB / 0.8385 GB, free: 80.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/1.584, allocations: 0 / 0.8385 GB, free: 80.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01098/1.595, allocations: 3.796 MB / 0.8422 GB, free: 76.36 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/1.598, allocations: 269.5 kB / 0.8425 GB, free: 76.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/1.608, allocations: 6.321 MB / 0.8487 GB, free: 69.79 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/1.609, allocations: 1.845 MB / 0.8505 GB, free: 67.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001506/1.611, allocations: 199.4 kB / 0.8506 GB, free: 67.72 MB / 0.5606 GB Notification: Performance of SimCode: time 1.052e-06/1.611, allocations: 0 / 0.8506 GB, free: 67.72 MB / 0.5606 GB Notification: Performance of Templates: time 0.06886/1.68, allocations: 55.63 MB / 0.905 GB, free: 12.04 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)