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.001169/0.001169, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.241/1.241, allocations: 223.2 MB / 239 MB, free: 5.652 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.001089/0.001089, allocations: 188 kB / 290.2 MB, free: 2.344 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4159/0.4159, allocations: 78.53 MB / 419.8 MB, free: 4.297 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003467, allocations: 12 kB / 499.7 MB, free: 6.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.114, allocations: 69.36 MB / 0.5557 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.1986/0.3126, allocations: 13.18 MB / 0.5685 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006869/0.3196, allocations: 4.605 MB / 0.573 GB, free: 32.01 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001934/0.3215, allocations: 32.66 kB / 0.5731 GB, free: 32.01 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.3231, allocations: 0.5405 MB / 0.5736 GB, free: 31.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005298/0.3284, allocations: 2.169 MB / 0.5757 GB, free: 30.44 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002213/0.3306, allocations: 1.082 MB / 0.5768 GB, free: 29.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004469/0.3351, allocations: 3.063 MB / 0.5798 GB, free: 28.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.3361, allocations: 0.6601 MB / 0.5804 GB, free: 28.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001849/0.338, allocations: 1.549 MB / 0.5819 GB, free: 27.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002389/0.3404, allocations: 2.094 MB / 0.584 GB, free: 26.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007786/0.3412, allocations: 185.3 kB / 0.5841 GB, free: 26.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.3424, allocations: 384.1 kB / 0.5845 GB, free: 26.37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005981/0.343, allocations: 0.7314 MB / 0.5852 GB, free: 25.95 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007466/0.3438, allocations: 0.6074 MB / 0.5858 GB, free: 25.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003076/0.3469, allocations: 3.948 MB / 0.5897 GB, free: 24.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3469, allocations: 2.156 kB / 0.5897 GB, free: 24.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3469, allocations: 6 kB / 0.5897 GB, free: 24.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001082/0.347, allocations: 0 / 0.5897 GB, free: 24.52 MB / 430.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.03479/0.3818, allocations: 9.118 MB / 0.5986 GB, free: 21.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3819, allocations: 8.312 kB / 0.5986 GB, free: 21.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01148/0.3933, allocations: 1.768 MB / 0.6003 GB, free: 21.47 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005212/0.3986, allocations: 2.059 MB / 0.6023 GB, free: 20.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006903/0.3993, allocations: 0.6945 MB / 0.603 GB, free: 19.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006165/0.3999, allocations: 243.4 kB / 0.6032 GB, free: 19.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006405/0.4063, allocations: 2.832 MB / 0.606 GB, free: 18.58 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.724e-05/0.4064, allocations: 0 / 0.606 GB, free: 18.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00023/0.4067, allocations: 79.94 kB / 0.6061 GB, free: 18.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.021e-05/0.4067, allocations: 50.91 kB / 0.6061 GB, free: 18.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00649/0.4132, allocations: 3.017 MB / 0.6091 GB, free: 17.56 MB / 430.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.01948/0.4327, allocations: 11.7 MB / 0.6205 GB, free: 9.301 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/0.4446, allocations: 5.666 MB / 0.626 GB, free: 5.562 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003393/0.4449, allocations: 45.95 kB / 0.6261 GB, free: 5.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.445, allocations: 56.56 kB / 0.6261 GB, free: 5.457 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 4.679e-06/0.445, allocations: 0 / 0.6261 GB, free: 5.457 MB / 430.1 MB Notification: Performance of matching and sorting (n=249): time 0.1307/0.5757, allocations: 35.51 MB / 0.6608 GB, free: 1.871 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.5758, allocations: 81.41 kB / 0.6609 GB, free: 1.781 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004279/0.5801, allocations: 2.882 MB / 0.6637 GB, free: 14.9 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007567/0.5809, allocations: 81.7 kB / 0.6638 GB, free: 14.81 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00115/0.582, allocations: 1.262 MB / 0.665 GB, free: 13.54 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001342/0.5834, allocations: 0.8974 MB / 0.6659 GB, free: 12.63 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005176/0.5839, allocations: 84 kB / 0.666 GB, free: 12.55 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002601/0.5842, allocations: 458.9 kB / 0.6664 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005281/0.5895, allocations: 2.448 MB / 0.6688 GB, free: 9.633 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005453/0.5949, allocations: 2.821 MB / 0.6716 GB, free: 6.719 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005241/0.6002, allocations: 2.628 MB / 0.6741 GB, free: 4.09 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/0.6002, allocations: 7.938 kB / 0.6741 GB, free: 4.082 MB / 478.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01588/0.6161, allocations: 7.701 MB / 0.6817 GB, free: 12.37 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.6162, allocations: 8 kB / 0.6817 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.6162, allocations: 4 kB / 0.6817 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01983/0.636, allocations: 6.503 MB / 0.688 GB, free: 5.852 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003503/0.6396, allocations: 0.6593 MB / 0.6887 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01481/0.6544, allocations: 6.142 MB / 0.6947 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00533/0.6598, allocations: 0.6024 MB / 0.6952 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000924/0.6607, allocations: 136.8 kB / 0.6954 GB, free: 14.29 MB / 0.4981 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.002011/0.6628, allocations: 0.5207 MB / 0.6959 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/0.6639, allocations: 338.5 kB / 0.6962 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03814/0.7021, allocations: 12.85 MB / 0.7088 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.531e-05/0.7022, allocations: 24 kB / 0.7088 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.7022, allocations: 0 / 0.7088 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-05/0.7023, allocations: 11.95 kB / 0.7088 GB, free: 468 kB / 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 postOpt removeSimpleEquations (simulation): time 0.04383/0.7461, allocations: 16.98 MB / 0.7254 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.051e-05/0.7462, allocations: 5.312 kB / 0.7254 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001587/0.7477, allocations: 259.6 kB / 0.7256 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01668/0.7644, allocations: 5.575 MB / 0.7311 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004992/0.765, allocations: 51.98 kB / 0.7311 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05347/0.8184, allocations: 23.24 MB / 0.7538 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.8185, allocations: 0 / 0.7538 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0421/0.8606, allocations: 15.31 MB / 0.7688 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/0.8618, allocations: 0.504 MB / 0.7693 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007531/0.8626, allocations: 51.98 kB / 0.7693 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003115/0.8657, allocations: 340.7 kB / 0.7696 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001639/0.8674, allocations: 0.5197 MB / 0.7701 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002464/0.8676, allocations: 63.98 kB / 0.7702 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.1995/1.067, allocations: 1.846 MB / 0.772 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.21e-07/1.067, allocations: 0 / 0.772 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003956/1.071, allocations: 1.124 MB / 0.7731 GB, free: 167.5 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 (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.000501/1.072, allocations: 171.9 kB / 0.7733 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01618/1.088, allocations: 6.804 MB / 0.7799 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/1.088, allocations: 0 / 0.7799 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01046/1.098, allocations: 4.268 MB / 0.7841 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/1.1, allocations: 225.1 kB / 0.7843 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/1.11, allocations: 7.569 MB / 0.7917 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001208/1.112, allocations: 1.91 MB / 0.7935 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001333/1.113, allocations: 294 kB / 0.7938 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007404/1.114, allocations: 179.2 kB / 0.794 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.052e-06/1.114, allocations: 4 kB / 0.794 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.07193/1.186, allocations: 52.26 MB / 0.845 GB, free: 134.1 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: