Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004877/0.004877, allocations: 170.7 kB / 15.12 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.238/1.238, allocations: 223.2 MB / 239 MB, free: 1.758 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008027/0.0008027, allocations: 99.06 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5457/0.5457, allocations: 78.59 MB / 419.9 MB, free: 44.2 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003442, allocations: 8 kB / 499.8 MB, free: 2.973 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3209, allocations: 69.35 MB / 0.5558 GB, free: 38.82 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01058/0.3315, allocations: 13.18 MB / 0.5686 GB, free: 32.27 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.008774/0.3403, allocations: 4.612 MB / 0.5731 GB, free: 28.93 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002969/0.3433, allocations: 33.97 kB / 0.5732 GB, free: 28.93 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.3451, allocations: 0.5437 MB / 0.5737 GB, free: 28.7 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006276/0.3514, allocations: 2.171 MB / 0.5758 GB, free: 27.29 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002534/0.3539, allocations: 1.079 MB / 0.5769 GB, free: 26.75 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004933/0.3589, allocations: 3.047 MB / 0.5798 GB, free: 25.14 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00095/0.3598, allocations: 0.6657 MB / 0.5805 GB, free: 24.83 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00196/0.3618, allocations: 1.544 MB / 0.582 GB, free: 24.13 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002447/0.3643, allocations: 2.094 MB / 0.5841 GB, free: 23.23 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006787/0.365, allocations: 186.2 kB / 0.5842 GB, free: 23.23 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.3661, allocations: 384.5 kB / 0.5846 GB, free: 23.17 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004418/0.3666, allocations: 0.7259 MB / 0.5853 GB, free: 22.75 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006199/0.3672, allocations: 0.6028 MB / 0.5859 GB, free: 22.37 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00275/0.3699, allocations: 3.958 MB / 0.5898 GB, free: 21.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.37, allocations: 3.938 kB / 0.5898 GB, free: 21.31 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.37, allocations: 0 / 0.5898 GB, free: 21.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.111e-05/0.37, allocations: 0 / 0.5898 GB, free: 21.31 MB / 426.7 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.0344/0.4044, allocations: 9.117 MB / 0.5987 GB, free: 18.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4045, allocations: 8.469 kB / 0.5987 GB, free: 18.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/0.4156, allocations: 1.768 MB / 0.6004 GB, free: 18.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00433/0.42, allocations: 2.056 MB / 0.6024 GB, free: 17.01 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006741/0.4207, allocations: 0.6968 MB / 0.6031 GB, free: 16.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005619/0.4213, allocations: 239.1 kB / 0.6033 GB, free: 16.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006181/0.4275, allocations: 2.837 MB / 0.6061 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/0.4275, allocations: 3.938 kB / 0.6061 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002192/0.4277, allocations: 76.22 kB / 0.6062 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.443e-05/0.4278, allocations: 45.72 kB / 0.6062 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00663/0.4344, allocations: 3.022 MB / 0.6092 GB, free: 14.35 MB / 426.7 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.02224/0.4567, allocations: 11.71 MB / 0.6206 GB, free: 5.902 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01203/0.4687, allocations: 5.665 MB / 0.6261 GB, free: 1.496 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002989/0.4691, allocations: 41.97 kB / 0.6262 GB, free: 1.457 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.4691, allocations: 60.55 kB / 0.6262 GB, free: 1.391 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 3.828e-06/0.4691, allocations: 0 / 0.6262 GB, free: 1.391 MB / 426.7 MB Notification: Performance of matching and sorting (n=249): time 0.1348/0.6039, allocations: 35.51 MB / 0.6609 GB, free: 13.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.604, allocations: 81.34 kB / 0.661 GB, free: 13.71 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004224/0.6082, allocations: 2.886 MB / 0.6638 GB, free: 10.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007425/0.609, allocations: 85.64 kB / 0.6639 GB, free: 10.73 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.61, allocations: 1.256 MB / 0.6651 GB, free: 9.465 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001143/0.6111, allocations: 0.8935 MB / 0.666 GB, free: 8.559 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002868/0.6114, allocations: 88 kB / 0.6661 GB, free: 8.473 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.6116, allocations: 458.9 kB / 0.6665 GB, free: 8.016 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004938/0.6166, allocations: 2.445 MB / 0.6689 GB, free: 5.562 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005268/0.6219, allocations: 2.827 MB / 0.6716 GB, free: 2.645 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005281/0.6272, allocations: 2.632 MB / 0.6742 GB, free: 12 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.6272, allocations: 4 kB / 0.6742 GB, free: 8 kB / 474.7 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01631/0.6435, allocations: 7.694 MB / 0.6817 GB, free: 8.301 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.6436, allocations: 16.61 kB / 0.6817 GB, free: 8.285 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.6436, allocations: 4 kB / 0.6817 GB, free: 8.281 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0205/0.6641, allocations: 6.499 MB / 0.6881 GB, free: 1.781 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003585/0.6677, allocations: 0.671 MB / 0.6888 GB, free: 1.109 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01495/0.6827, allocations: 6.142 MB / 0.6947 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005367/0.6881, allocations: 0.5977 MB / 0.6953 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005/0.6886, allocations: 143.9 kB / 0.6955 GB, free: 10.19 MB / 0.4948 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {62 60} Notification: Performance of prepare postOptimizeDAE: time 0.001306/0.69, allocations: 0.5207 MB / 0.696 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000751/0.6907, allocations: 335.6 kB / 0.6963 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03775/0.7285, allocations: 12.85 MB / 0.7088 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.774e-05/0.7285, allocations: 24 kB / 0.7089 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.7286, allocations: 0 / 0.7089 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.527e-05/0.7286, allocations: 19.88 kB / 0.7089 GB, free: 12.36 MB / 0.5105 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.04235/0.771, allocations: 16.97 MB / 0.7255 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.203e-05/0.771, allocations: 4 kB / 0.7255 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/0.7727, allocations: 259.6 kB / 0.7257 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01685/0.7895, allocations: 5.581 MB / 0.7312 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004529/0.79, allocations: 48 kB / 0.7312 GB, free: 5.219 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05381/0.8438, allocations: 23.24 MB / 0.7539 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.8439, allocations: 0 / 0.7539 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2852/1.129, allocations: 15.31 MB / 0.7689 GB, free: 163.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001521/1.131, allocations: 0.493 MB / 0.7693 GB, free: 163.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008661/1.132, allocations: 48.34 kB / 0.7694 GB, free: 163.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003274/1.135, allocations: 344.2 kB / 0.7697 GB, free: 163.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001709/1.137, allocations: 0.5171 MB / 0.7702 GB, free: 163.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001915/1.137, allocations: 65.3 kB / 0.7703 GB, free: 163.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00297/1.14, allocations: 1.849 MB / 0.7721 GB, free: 163.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.4e-07/1.14, allocations: 0.875 kB / 0.7721 GB, free: 163.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003675/1.143, allocations: 1.121 MB / 0.7732 GB, free: 163.7 MB / 0.5573 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {54 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004436/1.144, allocations: 179.6 kB / 0.7733 GB, free: 163.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01743/1.161, allocations: 6.809 MB / 0.78 GB, free: 163.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/1.161, allocations: 3.969 kB / 0.78 GB, free: 163.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01142/1.173, allocations: 4.265 MB / 0.7842 GB, free: 162.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/1.175, allocations: 231.1 kB / 0.7844 GB, free: 162.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009847/1.185, allocations: 7.574 MB / 0.7918 GB, free: 158.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/1.186, allocations: 1.91 MB / 0.7936 GB, free: 157.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00144/1.187, allocations: 288.3 kB / 0.7939 GB, free: 157.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007321/1.188, allocations: 176.3 kB / 0.7941 GB, free: 157.5 MB / 0.5573 GB Notification: Performance of SimCode: time 1.944e-06/1.188, allocations: 0 / 0.7941 GB, free: 157.5 MB / 0.5573 GB Notification: Performance of Templates: time 0.07144/1.259, allocations: 52.26 MB / 0.8451 GB, free: 130.1 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & ./OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)