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.001758/0.001757, allocations: 107.6 kB / 16.41 MB, free: 6.492 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.486/1.486, allocations: 222.9 MB / 240.1 MB, free: 4.406 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.00173/0.00173, allocations: 184.5 kB / 290.4 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5851/0.5851, allocations: 91.9 MB / 432.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 79.52 kB / 0.5734 GB, free: 33.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1674, allocations: 71.27 MB / 0.643 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01415/0.1816, allocations: 14.99 MB / 0.6576 GB, free: 4.547 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.192, allocations: 4.6 MB / 0.6621 GB, free: 15.93 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004139/0.1962, allocations: 28 kB / 0.6621 GB, free: 15.91 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002924/0.1992, allocations: 0.7789 MB / 0.6629 GB, free: 15.12 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007526/0.2068, allocations: 1.882 MB / 0.6647 GB, free: 13.23 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003826/0.2106, allocations: 1.421 MB / 0.6661 GB, free: 11.83 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007745/0.2184, allocations: 4.532 MB / 0.6706 GB, free: 7.281 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001833/0.2203, allocations: 0.7957 MB / 0.6713 GB, free: 6.445 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003457/0.2237, allocations: 1.801 MB / 0.6731 GB, free: 4.637 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004065/0.2278, allocations: 2.373 MB / 0.6754 GB, free: 2.254 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00182/0.2297, allocations: 404 kB / 0.6758 GB, free: 1.859 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002651/0.2323, allocations: 0.6404 MB / 0.6764 GB, free: 1.219 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001784/0.2341, allocations: 0.9455 MB / 0.6773 GB, free: 276 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004137/0.2383, allocations: 1.981 MB / 0.6793 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008343/0.2466, allocations: 5.252 MB / 0.6844 GB, free: 9.008 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.2467, allocations: 0 / 0.6844 GB, free: 9.008 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.2467, allocations: 0 / 0.6844 GB, free: 9.008 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002006/0.2469, allocations: 0 / 0.6844 GB, free: 9.008 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.03518/0.2821, allocations: 8.161 MB / 0.6924 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.2822, allocations: 12.03 kB / 0.6924 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01226/0.2944, allocations: 1.751 MB / 0.6941 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005231/0.2997, allocations: 2.171 MB / 0.6962 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000899/0.3006, allocations: 0.6624 MB / 0.6969 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008542/0.3015, allocations: 247.8 kB / 0.6971 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006401/0.3079, allocations: 2.685 MB / 0.6997 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/0.308, allocations: 4 kB / 0.6997 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002414/0.3082, allocations: 76 kB / 0.6998 GB, free: 9 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-05/0.3083, allocations: 44 kB / 0.6998 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006417/0.3147, allocations: 2.83 MB / 0.7026 GB, free: 6.125 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.02309/0.3378, allocations: 11 MB / 0.7133 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01277/0.3506, allocations: 4.971 MB / 0.7182 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004815/0.3555, allocations: 1.927 MB / 0.7201 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005099/0.356, allocations: 49.89 kB / 0.7201 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.227e-05/0.3561, allocations: 60.56 kB / 0.7202 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 4.198e-06/0.3561, allocations: 0 / 0.7202 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of matching and sorting (n=249): time 0.1291/0.4852, allocations: 29.55 MB / 0.749 GB, free: 5.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.4854, allocations: 77.41 kB / 0.7491 GB, free: 5.645 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006197/0.4916, allocations: 2.91 MB / 0.752 GB, free: 2.734 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001218/0.4929, allocations: 81.7 kB / 0.752 GB, free: 2.648 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001508/0.4944, allocations: 1.26 MB / 0.7533 GB, free: 1.375 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001977/0.4964, allocations: 0.8936 MB / 0.7541 GB, free: 480 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00383/0.5002, allocations: 0.7561 MB / 0.7549 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.5004, allocations: 301.1 kB / 0.7552 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005999/0.5064, allocations: 2.28 MB / 0.7574 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006658/0.5131, allocations: 2.673 MB / 0.76 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01243/0.5255, allocations: 4.839 MB / 0.7647 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.045e-05/0.5256, allocations: 7.938 kB / 0.7647 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.4861/1.012, allocations: 7.217 MB / 0.7718 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.732e-05/1.012, allocations: 8.25 kB / 0.7718 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/1.012, allocations: 4.875 kB / 0.7718 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02326/1.035, allocations: 5.739 MB / 0.7774 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004913/1.04, allocations: 0.6614 MB / 0.778 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01572/1.056, allocations: 5.45 MB / 0.7834 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006082/1.062, allocations: 0.5015 MB / 0.7839 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007286/1.063, allocations: 145 kB / 0.784 GB, free: 107.2 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.001599/1.064, allocations: 0.5183 MB / 0.7845 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009918/1.065, allocations: 332.9 kB / 0.7848 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03329/1.099, allocations: 10.53 MB / 0.7951 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.364e-05/1.099, allocations: 27.56 kB / 0.7951 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/1.099, allocations: 0 / 0.7951 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.391e-05/1.099, allocations: 15.36 kB / 0.7951 GB, free: 104.5 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.04004/1.139, allocations: 14.62 MB / 0.8094 GB, free: 93.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.928e-05/1.139, allocations: 0 / 0.8094 GB, free: 93.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/1.141, allocations: 270 kB / 0.8097 GB, free: 93.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01556/1.156, allocations: 4.761 MB / 0.8143 GB, free: 88.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008263/1.157, allocations: 48 kB / 0.8144 GB, free: 88.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05055/1.208, allocations: 21.45 MB / 0.8353 GB, free: 66.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/1.208, allocations: 3.984 kB / 0.8353 GB, free: 66.85 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03833/1.246, allocations: 12.81 MB / 0.8478 GB, free: 53.95 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001597/1.248, allocations: 0.4884 MB / 0.8483 GB, free: 53.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008286/1.249, allocations: 48.5 kB / 0.8484 GB, free: 53.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003012/1.252, allocations: 247.7 kB / 0.8486 GB, free: 53.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002197/1.254, allocations: 0.5178 MB / 0.8491 GB, free: 52.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001843/1.254, allocations: 68 kB / 0.8492 GB, free: 52.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003017/1.257, allocations: 1.877 MB / 0.851 GB, free: 50.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/1.257, allocations: 4 kB / 0.851 GB, free: 50.72 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004658/1.262, allocations: 1.123 MB / 0.8521 GB, free: 49.6 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.0005401/1.262, allocations: 181 kB / 0.8523 GB, free: 49.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01638/1.279, allocations: 6.15 MB / 0.8583 GB, free: 43.26 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/1.279, allocations: 0 / 0.8583 GB, free: 43.26 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01109/1.29, allocations: 3.795 MB / 0.862 GB, free: 39.46 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00357/1.294, allocations: 259.4 kB / 0.8622 GB, free: 39.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/1.304, allocations: 6.326 MB / 0.8684 GB, free: 32.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/1.305, allocations: 1.845 MB / 0.8702 GB, free: 31.01 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/1.307, allocations: 203.4 kB / 0.8704 GB, free: 30.81 MB / 0.5606 GB Notification: Performance of SimCode: time 2.355e-06/1.307, allocations: 0 / 0.8704 GB, free: 30.81 MB / 0.5606 GB Notification: Performance of Templates: time 0.08926/1.396, allocations: 55.63 MB / 0.9247 GB, free: 7.129 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)