Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07161/0.07161, allocations: 12.19 MB / 27.15 MB, free: 1.527 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008874/0.0008874, allocations: 104.1 kB / 30.66 MB, free: 4.875 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.219/1.219, allocations: 205.4 MB / 239.5 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 183.9 kB / 290.6 MB, free: 14.05 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3906/0.3906, allocations: 78.5 MB / 420.1 MB, free: 12.27 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008867/0.0008868, allocations: 32 kB / 0.4894 GB, free: 11.18 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2408, allocations: 69.21 MB / 0.557 GB, free: 21.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.007412/0.2483, allocations: 13.24 MB / 0.5699 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005938/0.2543, allocations: 4.584 MB / 0.5744 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.2555, allocations: 32 kB / 0.5744 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.2566, allocations: 0.5508 MB / 0.575 GB, free: 2.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004264/0.2609, allocations: 2.166 MB / 0.5771 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.2629, allocations: 1.086 MB / 0.5781 GB, free: 15.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003917/0.2668, allocations: 3.057 MB / 0.5811 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008377/0.2677, allocations: 0.6595 MB / 0.5818 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001769/0.2694, allocations: 1.545 MB / 0.5833 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002115/0.2716, allocations: 2.097 MB / 0.5853 GB, free: 8.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003545/0.2719, allocations: 184 kB / 0.5855 GB, free: 7.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007988/0.2727, allocations: 387.8 kB / 0.5859 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005779/0.2733, allocations: 0.7275 MB / 0.5866 GB, free: 6.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005741/0.2739, allocations: 0.6052 MB / 0.5872 GB, free: 6.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003334/0.2773, allocations: 3.956 MB / 0.591 GB, free: 2.215 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2773, allocations: 0 / 0.591 GB, free: 2.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2773, allocations: 0 / 0.591 GB, free: 2.215 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001005/0.2774, allocations: 0 / 0.591 GB, free: 2.215 MB / 398.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.03396/0.3113, allocations: 9.12 MB / 0.5999 GB, free: 9.023 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.3114, allocations: 11.98 kB / 0.6 GB, free: 9.012 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01089/0.3223, allocations: 1.775 MB / 0.6017 GB, free: 7.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004382/0.3267, allocations: 2.049 MB / 0.6037 GB, free: 5.125 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007742/0.3275, allocations: 0.6975 MB / 0.6044 GB, free: 4.332 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008579/0.3284, allocations: 239.9 kB / 0.6046 GB, free: 4.098 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007131/0.3355, allocations: 2.834 MB / 0.6074 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-05/0.3356, allocations: 4 kB / 0.6074 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004349/0.3361, allocations: 79.98 kB / 0.6074 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.732e-05/0.3361, allocations: 48 kB / 0.6075 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006492/0.3426, allocations: 3.017 MB / 0.6104 GB, free: 14.11 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.01896/0.3616, allocations: 11.71 MB / 0.6219 GB, free: 1.762 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01196/0.3736, allocations: 5.662 MB / 0.6274 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003202/0.3739, allocations: 41.97 kB / 0.6274 GB, free: 11.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.374, allocations: 60.56 kB / 0.6275 GB, free: 11.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 4.238e-06/0.374, allocations: 0 / 0.6275 GB, free: 11.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1281/0.5021, allocations: 35.51 MB / 0.6622 GB, free: 8.203 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.5022, allocations: 81.36 kB / 0.6623 GB, free: 8.113 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004359/0.5066, allocations: 2.882 MB / 0.6651 GB, free: 5.23 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006942/0.5073, allocations: 81.7 kB / 0.6651 GB, free: 5.145 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001198/0.5085, allocations: 1.26 MB / 0.6664 GB, free: 3.871 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001323/0.5099, allocations: 0.8935 MB / 0.6672 GB, free: 2.965 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006605/0.5106, allocations: 84 kB / 0.6673 GB, free: 2.883 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000261/0.5108, allocations: 466.9 kB / 0.6678 GB, free: 2.418 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005208/0.5161, allocations: 2.445 MB / 0.6702 GB, free: 15.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005592/0.5217, allocations: 2.825 MB / 0.6729 GB, free: 13.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005468/0.5272, allocations: 2.632 MB / 0.6755 GB, free: 10.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.5272, allocations: 0 / 0.6755 GB, free: 10.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01655/0.5437, allocations: 7.701 MB / 0.683 GB, free: 2.703 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.687e-05/0.5438, allocations: 8 kB / 0.683 GB, free: 2.695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.578e-05/0.5439, allocations: 7.938 kB / 0.683 GB, free: 2.688 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2203/0.7641, allocations: 6.498 MB / 0.6894 GB, free: 109.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003337/0.7675, allocations: 0.6656 MB / 0.69 GB, free: 109.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01465/0.7822, allocations: 6.138 MB / 0.696 GB, free: 108.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004313/0.7865, allocations: 0.6017 MB / 0.6966 GB, free: 108.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000402/0.787, allocations: 134.3 kB / 0.6967 GB, free: 108.7 MB / 494.1 MB 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.001189/0.7882, allocations: 0.528 MB / 0.6972 GB, free: 108.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005994/0.7888, allocations: 334.2 kB / 0.6976 GB, free: 108.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03198/0.8207, allocations: 12.85 MB / 0.7101 GB, free: 104.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/0.8208, allocations: 28 kB / 0.7101 GB, free: 104.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.8208, allocations: 4 kB / 0.7101 GB, free: 104.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-05/0.8209, allocations: 11.48 kB / 0.7102 GB, free: 104.1 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 postOpt removeSimpleEquations (simulation): time 0.03657/0.8574, allocations: 16.97 MB / 0.7267 GB, free: 88.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/0.8575, allocations: 0.7969 kB / 0.7267 GB, free: 88.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/0.8589, allocations: 263.6 kB / 0.727 GB, free: 87.78 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01463/0.8735, allocations: 5.573 MB / 0.7324 GB, free: 82.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00058/0.8741, allocations: 54.61 kB / 0.7325 GB, free: 82.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05024/0.9244, allocations: 23.24 MB / 0.7552 GB, free: 58.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.9244, allocations: 0 / 0.7552 GB, free: 58.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03884/0.9633, allocations: 15.31 MB / 0.7701 GB, free: 43.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/0.9644, allocations: 0.4971 MB / 0.7706 GB, free: 42.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001026/0.9655, allocations: 52.12 kB / 0.7707 GB, free: 42.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003408/0.9689, allocations: 343.7 kB / 0.771 GB, free: 42.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001786/0.9707, allocations: 0.5138 MB / 0.7715 GB, free: 42.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003964/0.9711, allocations: 63.98 kB / 0.7715 GB, free: 41.95 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002654/0.9738, allocations: 1.849 MB / 0.7734 GB, free: 40.11 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9738, allocations: 4 kB / 0.7734 GB, free: 40.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004287/0.9781, allocations: 1.13 MB / 0.7745 GB, free: 38.97 MB / 494.1 MB 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.0007395/0.9789, allocations: 176 kB / 0.7746 GB, free: 38.79 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01713/0.996, allocations: 6.802 MB / 0.7813 GB, free: 31.98 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.9961, allocations: 4 kB / 0.7813 GB, free: 31.97 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01098/1.007, allocations: 4.266 MB / 0.7854 GB, free: 27.69 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/1.009, allocations: 227.3 kB / 0.7857 GB, free: 27.46 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/1.02, allocations: 7.569 MB / 0.7931 GB, free: 19.79 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/1.021, allocations: 1.907 MB / 0.7949 GB, free: 17.85 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001336/1.023, allocations: 296.9 kB / 0.7952 GB, free: 17.56 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008445/1.024, allocations: 183.4 kB / 0.7954 GB, free: 17.38 MB / 494.1 MB Notification: Performance of SimCode: time 7.91e-07/1.024, allocations: 0 / 0.7954 GB, free: 17.38 MB / 494.1 MB Notification: Performance of Templates: time 0.07424/1.098, allocations: 52.25 MB / 0.8464 GB, free: 13.12 MB / 0.5294 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1) Environment - environmentSimulation: