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.006518/0.006518, allocations: 102.3 kB / 15.73 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.36/1.36, allocations: 222.9 MB / 239.4 MB, free: 4.516 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.001584/0.001584, allocations: 192.5 kB / 289.7 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4624/0.4624, allocations: 78.52 MB / 418.4 MB, free: 3.129 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.001571, allocations: 79.81 kB / 0.5536 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3338, allocations: 68.17 MB / 0.6202 GB, free: 9.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01123/0.3451, allocations: 14.95 MB / 0.6348 GB, free: 11.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009023/0.3542, allocations: 4.608 MB / 0.6393 GB, free: 6.543 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003254/0.3575, allocations: 28 kB / 0.6393 GB, free: 6.516 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002613/0.3601, allocations: 0.7789 MB / 0.6401 GB, free: 5.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007878/0.368, allocations: 2.421 MB / 0.6424 GB, free: 3.328 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003499/0.3716, allocations: 1.338 MB / 0.6437 GB, free: 2.004 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007041/0.3786, allocations: 4.887 MB / 0.6485 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001744/0.3804, allocations: 0.7994 MB / 0.6493 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003261/0.3837, allocations: 1.883 MB / 0.6511 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003499/0.3872, allocations: 2.455 MB / 0.6535 GB, free: 7.91 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00133/0.3885, allocations: 404 kB / 0.6539 GB, free: 7.516 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001946/0.3905, allocations: 0.6326 MB / 0.6545 GB, free: 6.883 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001336/0.3918, allocations: 0.9767 MB / 0.6555 GB, free: 5.902 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003192/0.395, allocations: 2.009 MB / 0.6574 GB, free: 3.883 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006647/0.4017, allocations: 5.316 MB / 0.6626 GB, free: 14.55 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4017, allocations: 4 kB / 0.6626 GB, free: 14.55 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.4017, allocations: 0 / 0.6626 GB, free: 14.55 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001636/0.4019, allocations: 0 / 0.6626 GB, free: 14.55 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.03854/0.4405, allocations: 9.511 MB / 0.6719 GB, free: 4.961 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.4405, allocations: 12.03 kB / 0.6719 GB, free: 4.949 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01143/0.452, allocations: 1.747 MB / 0.6736 GB, free: 3.195 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005253/0.4572, allocations: 2.171 MB / 0.6758 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007881/0.4581, allocations: 0.6663 MB / 0.6764 GB, free: 212 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001002/0.4591, allocations: 243.8 kB / 0.6767 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007383/0.4665, allocations: 2.685 MB / 0.6793 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.041e-05/0.4666, allocations: 0 / 0.6793 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004072/0.467, allocations: 80 kB / 0.6794 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.663e-05/0.467, allocations: 48 kB / 0.6794 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006535/0.4736, allocations: 2.83 MB / 0.6822 GB, free: 10.32 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.02167/0.4952, allocations: 11 MB / 0.6929 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01178/0.5071, allocations: 4.979 MB / 0.6978 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004181/0.5113, allocations: 1.931 MB / 0.6997 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004318/0.5117, allocations: 45.88 kB / 0.6997 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.183e-05/0.5118, allocations: 56.56 kB / 0.6998 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=249): time 5.54e-06/0.5118, allocations: 4 kB / 0.6998 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=249): time 0.1213/0.6331, allocations: 29.55 MB / 0.7286 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.251e-05/0.6332, allocations: 77.41 kB / 0.7287 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005556/0.6388, allocations: 2.902 MB / 0.7315 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009787/0.6398, allocations: 85.7 kB / 0.7316 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001592/0.6414, allocations: 1.256 MB / 0.7328 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002186/0.6436, allocations: 0.8975 MB / 0.7337 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004067/0.6477, allocations: 0.7482 MB / 0.7344 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.6478, allocations: 309.1 kB / 0.7347 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005415/0.6533, allocations: 2.277 MB / 0.737 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006049/0.6593, allocations: 2.677 MB / 0.7396 GB, free: 14.53 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01097/0.6703, allocations: 4.855 MB / 0.7443 GB, free: 9.598 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.789e-05/0.6704, allocations: 3.938 kB / 0.7443 GB, free: 9.594 MB / 0.545 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01927/0.6897, allocations: 7.228 MB / 0.7514 GB, free: 2.352 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.6898, allocations: 8 kB / 0.7514 GB, free: 2.344 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.6898, allocations: 4 kB / 0.7514 GB, free: 2.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01827/0.7081, allocations: 5.73 MB / 0.757 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003418/0.7115, allocations: 0.6632 MB / 0.7576 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01393/0.7255, allocations: 5.446 MB / 0.7629 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005051/0.7306, allocations: 0.5079 MB / 0.7634 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008968/0.7315, allocations: 144 kB / 0.7636 GB, free: 5.816 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.002201/0.7337, allocations: 0.5207 MB / 0.7641 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001154/0.7349, allocations: 335.7 kB / 0.7644 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3372/1.072, allocations: 10.52 MB / 0.7747 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.848e-05/1.072, allocations: 25.12 kB / 0.7747 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.26e-05/1.072, allocations: 0.625 kB / 0.7747 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000118/1.072, allocations: 14.34 kB / 0.7747 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.0418/1.114, allocations: 14.62 MB / 0.789 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.402e-05/1.114, allocations: 0 / 0.789 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001567/1.116, allocations: 267.5 kB / 0.7893 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01429/1.13, allocations: 4.761 MB / 0.7939 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006117/1.131, allocations: 46.06 kB / 0.794 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04726/1.178, allocations: 21.46 MB / 0.8149 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.178, allocations: 0 / 0.8149 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03566/1.214, allocations: 12.81 MB / 0.8274 GB, free: 90.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/1.215, allocations: 0.492 MB / 0.8279 GB, free: 90.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001255/1.217, allocations: 48.88 kB / 0.8279 GB, free: 90.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003367/1.22, allocations: 247.7 kB / 0.8282 GB, free: 89.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001887/1.222, allocations: 0.5179 MB / 0.8287 GB, free: 89.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002559/1.222, allocations: 60 kB / 0.8287 GB, free: 89.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002307/1.224, allocations: 1.881 MB / 0.8306 GB, free: 87.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/1.224, allocations: 0 / 0.8306 GB, free: 87.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002965/1.227, allocations: 1.127 MB / 0.8317 GB, free: 86.33 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.0004111/1.228, allocations: 178.2 kB / 0.8318 GB, free: 86.15 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01398/1.242, allocations: 6.163 MB / 0.8379 GB, free: 79.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.242, allocations: 3.938 kB / 0.8379 GB, free: 79.97 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.009362/1.251, allocations: 3.782 MB / 0.8416 GB, free: 76.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003087/1.254, allocations: 267.3 kB / 0.8418 GB, free: 75.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008987/1.263, allocations: 6.276 MB / 0.8479 GB, free: 69.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008713/1.264, allocations: 1.841 MB / 0.8497 GB, free: 67.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001157/1.265, allocations: 300.9 kB / 0.85 GB, free: 67.49 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006622/1.266, allocations: 187.4 kB / 0.8502 GB, free: 67.31 MB / 0.5606 GB Notification: Performance of SimCode: time 7.02e-07/1.266, allocations: 0 / 0.8502 GB, free: 67.31 MB / 0.5606 GB Notification: Performance of Templates: time 0.08278/1.349, allocations: 61.81 MB / 0.9106 GB, free: 5.504 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)