Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.007802/0.007802, allocations: 100.7 kB / 15.73 MB, free: 6.043 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.417/1.417, allocations: 222.9 MB / 239.4 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.001228/0.001228, allocations: 192.5 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6082/0.6082, allocations: 91.89 MB / 431.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.00143, allocations: 82.45 kB / 0.5727 GB, free: 33.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1346, allocations: 71.28 MB / 0.6423 GB, free: 3.582 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01385/0.1485, allocations: 14.99 MB / 0.657 GB, free: 4.527 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01084/0.1594, allocations: 4.592 MB / 0.6614 GB, free: 15.92 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002598/0.162, allocations: 28 kB / 0.6615 GB, free: 15.89 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002398/0.1644, allocations: 0.7828 MB / 0.6622 GB, free: 15.11 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006178/0.1707, allocations: 2.034 MB / 0.6642 GB, free: 13.07 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003539/0.1742, allocations: 1.426 MB / 0.6656 GB, free: 11.66 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006032/0.1803, allocations: 4.532 MB / 0.67 GB, free: 7.109 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/0.1818, allocations: 0.7918 MB / 0.6708 GB, free: 6.277 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002654/0.1845, allocations: 1.805 MB / 0.6726 GB, free: 4.465 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003174/0.1877, allocations: 2.381 MB / 0.6749 GB, free: 2.074 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001259/0.1889, allocations: 403.9 kB / 0.6753 GB, free: 1.68 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/0.1908, allocations: 0.6365 MB / 0.6759 GB, free: 1.043 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001228/0.192, allocations: 0.9456 MB / 0.6768 GB, free: 96 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002794/0.1948, allocations: 1.974 MB / 0.6788 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005904/0.2008, allocations: 5.255 MB / 0.6839 GB, free: 8.836 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2008, allocations: 4 kB / 0.6839 GB, free: 8.832 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2008, allocations: 0 / 0.6839 GB, free: 8.832 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001067/0.2009, allocations: 0 / 0.6839 GB, free: 8.832 MB / 494.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.03314/0.234, allocations: 8.157 MB / 0.6919 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.2341, allocations: 12.03 kB / 0.6919 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01175/0.2459, allocations: 1.747 MB / 0.6936 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004431/0.2503, allocations: 2.175 MB / 0.6957 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008648/0.2512, allocations: 0.6663 MB / 0.6963 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008565/0.2521, allocations: 239.8 kB / 0.6966 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007432/0.2595, allocations: 2.682 MB / 0.6992 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.476e-05/0.2596, allocations: 0 / 0.6992 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003769/0.26, allocations: 80 kB / 0.6993 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.909e-05/0.26, allocations: 48 kB / 0.6993 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006682/0.2667, allocations: 2.834 MB / 0.7021 GB, free: 5.953 MB / 0.4981 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 preOpt removeSimpleEquations (simulation): time 0.0238/0.2905, allocations: 11 MB / 0.7128 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01301/0.3036, allocations: 4.975 MB / 0.7177 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004642/0.3082, allocations: 1.927 MB / 0.7196 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003988/0.3087, allocations: 45.95 kB / 0.7196 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.276e-05/0.3087, allocations: 60.55 kB / 0.7197 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 4.138e-06/0.3088, allocations: 0 / 0.7197 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of matching and sorting (n=249): time 0.1346/0.4434, allocations: 29.55 MB / 0.7485 GB, free: 5.559 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.93e-05/0.4435, allocations: 81.34 kB / 0.7486 GB, free: 5.469 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006397/0.4499, allocations: 2.909 MB / 0.7514 GB, free: 2.559 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.00111/0.4511, allocations: 85.7 kB / 0.7515 GB, free: 2.469 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00143/0.4525, allocations: 1.256 MB / 0.7528 GB, free: 1.199 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001666/0.4542, allocations: 0.8936 MB / 0.7536 GB, free: 300 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003118/0.4573, allocations: 0.7444 MB / 0.7544 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.4575, allocations: 305.1 kB / 0.7546 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005583/0.463, allocations: 2.277 MB / 0.7569 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006035/0.4691, allocations: 2.679 MB / 0.7595 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01147/0.4806, allocations: 4.847 MB / 0.7642 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/0.4806, allocations: 3.938 kB / 0.7642 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.3153/0.796, allocations: 7.215 MB / 0.7713 GB, free: 108 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.796, allocations: 7.656 kB / 0.7713 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.7961, allocations: 6.125 kB / 0.7713 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02068/0.8168, allocations: 5.735 MB / 0.7769 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003726/0.8205, allocations: 0.6657 MB / 0.7775 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01387/0.8344, allocations: 5.451 MB / 0.7829 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004744/0.8392, allocations: 0.5069 MB / 0.7833 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005453/0.8398, allocations: 137 kB / 0.7835 GB, free: 107.3 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.001223/0.841, allocations: 0.5199 MB / 0.784 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007138/0.8417, allocations: 331.2 kB / 0.7843 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03332/0.875, allocations: 10.53 MB / 0.7946 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/0.8751, allocations: 27.22 kB / 0.7946 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.8751, allocations: 0 / 0.7946 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.397e-05/0.8752, allocations: 11.53 kB / 0.7946 GB, free: 104.4 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.03785/0.913, allocations: 14.63 MB / 0.8089 GB, free: 93.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.136e-05/0.9131, allocations: 3.984 kB / 0.8089 GB, free: 93.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/0.9147, allocations: 259.6 kB / 0.8092 GB, free: 92.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01516/0.9299, allocations: 4.764 MB / 0.8138 GB, free: 88.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005787/0.9305, allocations: 51.98 kB / 0.8139 GB, free: 88.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04908/0.9796, allocations: 21.45 MB / 0.8348 GB, free: 66.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9796, allocations: 0 / 0.8348 GB, free: 66.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03759/1.017, allocations: 12.82 MB / 0.8473 GB, free: 53.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/1.018, allocations: 0.4884 MB / 0.8478 GB, free: 53.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000746/1.019, allocations: 48 kB / 0.8478 GB, free: 53.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003302/1.022, allocations: 247.7 kB / 0.8481 GB, free: 52.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001999/1.024, allocations: 0.5241 MB / 0.8486 GB, free: 52.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002254/1.025, allocations: 67.98 kB / 0.8487 GB, free: 52.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002468/1.027, allocations: 1.873 MB / 0.8505 GB, free: 50.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/1.027, allocations: 0 / 0.8505 GB, free: 50.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003275/1.03, allocations: 1.127 MB / 0.8516 GB, free: 49.38 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.0004093/1.031, allocations: 173.6 kB / 0.8518 GB, free: 49.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01618/1.047, allocations: 6.153 MB / 0.8578 GB, free: 43.03 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.047, allocations: 0 / 0.8578 GB, free: 43.03 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01122/1.058, allocations: 3.796 MB / 0.8615 GB, free: 39.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/1.061, allocations: 270.2 kB / 0.8617 GB, free: 38.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009346/1.07, allocations: 6.267 MB / 0.8678 GB, free: 32.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008834/1.071, allocations: 1.848 MB / 0.8697 GB, free: 30.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001235/1.072, allocations: 292.9 kB / 0.8699 GB, free: 30.55 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007042/1.073, allocations: 187.4 kB / 0.8701 GB, free: 30.36 MB / 0.5606 GB Notification: Performance of SimCode: time 8.62e-07/1.073, allocations: 4 kB / 0.8701 GB, free: 30.36 MB / 0.5606 GB Notification: Performance of Templates: time 0.0851/1.158, allocations: 61.83 MB / 0.9305 GB, free: 0.5469 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & ./OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)