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.07975/0.07975, allocations: 12.2 MB / 28.09 MB, free: 0.9219 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.001042/0.001042, allocations: 111.5 kB / 31.59 MB, free: 4.438 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.392/1.392, allocations: 205.1 MB / 240.1 MB, free: 11.57 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.001671/0.001671, allocations: 184.6 kB / 290.2 MB, free: 15.9 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.466/0.466, allocations: 78.51 MB / 418.8 MB, free: 31.75 MB / 318.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.002643/0.002643, allocations: 127.8 kB / 499.1 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4523/0.455, allocations: 68.04 MB / 0.5538 GB, free: 37.7 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01176/0.4668, allocations: 15.81 MB / 0.5692 GB, free: 25.96 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01095/0.4778, allocations: 4.696 MB / 0.5738 GB, free: 22.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00451/0.4824, allocations: 31.91 kB / 0.5739 GB, free: 22.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003041/0.4855, allocations: 0.6141 MB / 0.5745 GB, free: 22.29 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00844/0.494, allocations: 2.163 MB / 0.5766 GB, free: 20.88 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003422/0.4974, allocations: 1.243 MB / 0.5778 GB, free: 20.19 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007487/0.5049, allocations: 4.872 MB / 0.5825 GB, free: 17.79 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.5064, allocations: 0.7925 MB / 0.5833 GB, free: 17.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003387/0.5098, allocations: 1.887 MB / 0.5852 GB, free: 16.45 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004229/0.5141, allocations: 2.447 MB / 0.5875 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00186/0.516, allocations: 404.5 kB / 0.5879 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.5184, allocations: 0.626 MB / 0.5885 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.5195, allocations: 0.9797 MB / 0.5895 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003383/0.5229, allocations: 2.013 MB / 0.5915 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006361/0.5293, allocations: 4.232 MB / 0.5956 GB, free: 11.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.5293, allocations: 0 / 0.5956 GB, free: 11.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5293, allocations: 0 / 0.5956 GB, free: 11.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000205/0.5295, allocations: 0 / 0.5956 GB, free: 11.38 MB / 414.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.04085/0.5704, allocations: 9.512 MB / 0.6049 GB, free: 6.445 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.5705, allocations: 25.17 kB / 0.6049 GB, free: 6.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.5817, allocations: 1.753 MB / 0.6066 GB, free: 4.746 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004961/0.5867, allocations: 2.175 MB / 0.6087 GB, free: 2.512 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006469/0.5874, allocations: 0.6585 MB / 0.6094 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007174/0.5881, allocations: 243.8 kB / 0.6096 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005651/0.5938, allocations: 2.689 MB / 0.6122 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.85e-05/0.5939, allocations: 4 kB / 0.6122 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002408/0.5941, allocations: 76 kB / 0.6123 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-05/0.5941, allocations: 47.98 kB / 0.6124 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006266/0.6004, allocations: 2.83 MB / 0.6151 GB, free: 11.87 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.02295/0.6234, allocations: 11.06 MB / 0.6259 GB, free: 276 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01212/0.6356, allocations: 4.973 MB / 0.6308 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004727/0.6403, allocations: 1.932 MB / 0.6327 GB, free: 9.148 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003761/0.6407, allocations: 45.95 kB / 0.6327 GB, free: 9.105 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.021e-05/0.6408, allocations: 56.56 kB / 0.6328 GB, free: 9.039 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 4.058e-06/0.6408, allocations: 0 / 0.6328 GB, free: 9.039 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1248/0.7656, allocations: 29.55 MB / 0.6616 GB, free: 11.42 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/0.7657, allocations: 77.41 kB / 0.6617 GB, free: 11.33 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005419/0.7711, allocations: 2.898 MB / 0.6645 GB, free: 8.434 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001064/0.7722, allocations: 85.7 kB / 0.6646 GB, free: 8.344 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00123/0.7735, allocations: 1.26 MB / 0.6658 GB, free: 7.07 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001836/0.7753, allocations: 0.8974 MB / 0.6667 GB, free: 6.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001648/0.777, allocations: 0.7522 MB / 0.6675 GB, free: 5.395 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.7771, allocations: 301.1 kB / 0.6677 GB, free: 5.098 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004937/0.782, allocations: 2.28 MB / 0.67 GB, free: 2.809 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00573/0.7878, allocations: 2.677 MB / 0.6726 GB, free: 40 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/0.7989, allocations: 4.851 MB / 0.6773 GB, free: 11.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.99e-05/0.7989, allocations: 3.938 kB / 0.6773 GB, free: 11.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01758/0.8165, allocations: 7.228 MB / 0.6844 GB, free: 3.859 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.8166, allocations: 8.688 kB / 0.6844 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.8166, allocations: 4 kB / 0.6844 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01921/0.8359, allocations: 5.749 MB / 0.69 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003977/0.8399, allocations: 0.6593 MB / 0.6907 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01536/0.8553, allocations: 5.45 MB / 0.696 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006309/0.8616, allocations: 0.504 MB / 0.6965 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001103/0.8628, allocations: 140 kB / 0.6966 GB, free: 7.301 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 (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.001907/0.8647, allocations: 0.5207 MB / 0.6971 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001137/0.8659, allocations: 331.7 kB / 0.6974 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03478/0.9006, allocations: 10.53 MB / 0.7077 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-05/0.9007, allocations: 31.94 kB / 0.7077 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.9008, allocations: 4 kB / 0.7077 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.594e-05/0.9009, allocations: 11.95 kB / 0.7078 GB, free: 11.79 MB / 0.5137 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.04292/0.9438, allocations: 14.65 MB / 0.7221 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.71e-05/0.9439, allocations: 0 / 0.7221 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001846/0.9457, allocations: 263.6 kB / 0.7223 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01639/0.9621, allocations: 4.769 MB / 0.727 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008919/0.9631, allocations: 55.98 kB / 0.727 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3479/1.311, allocations: 21.47 MB / 0.748 GB, free: 145.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.311, allocations: 0 / 0.748 GB, free: 145.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03745/1.349, allocations: 12.81 MB / 0.7605 GB, free: 142 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001771/1.35, allocations: 0.4933 MB / 0.761 GB, free: 141.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007135/1.351, allocations: 43.81 kB / 0.761 GB, free: 141.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002926/1.354, allocations: 250.6 kB / 0.7613 GB, free: 141.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002051/1.356, allocations: 0.5188 MB / 0.7618 GB, free: 141.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001979/1.356, allocations: 62.92 kB / 0.7618 GB, free: 141.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002958/1.359, allocations: 1.881 MB / 0.7637 GB, free: 140.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.7e-07/1.359, allocations: 0 / 0.7637 GB, free: 140.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004408/1.364, allocations: 1.12 MB / 0.7648 GB, free: 140.6 MB / 0.5294 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.0005028/1.364, allocations: 184 kB / 0.7649 GB, free: 140.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01886/1.383, allocations: 6.226 MB / 0.771 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/1.383, allocations: 0 / 0.771 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.009959/1.393, allocations: 3.784 MB / 0.7747 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003922/1.397, allocations: 271.8 kB / 0.775 GB, free: 137 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/1.409, allocations: 7.517 MB / 0.7823 GB, free: 130.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/1.41, allocations: 1.844 MB / 0.7841 GB, free: 129.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001508/1.411, allocations: 198.2 kB / 0.7843 GB, free: 129.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.022e-06/1.411, allocations: 3.938 kB / 0.7843 GB, free: 129.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.05854/1.47, allocations: 55.32 MB / 0.8383 GB, free: 74.23 MB / 0.5294 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile (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)