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/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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/Complex 3.2.3+maint.om/package.mo): time 0.0009963/0.0009964, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 205.2 MB / 218.5 MB, free: 9.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008232/0.0008232, allocations: 87.55 kB / 266.6 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06983/0.06983, allocations: 12.59 MB / 327.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2869/0.2869, allocations: 78.02 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.125e-05/3.127e-05, allocations: 7.984 kB / 0.5218 GB, free: 23.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1078, allocations: 69.33 MB / 0.5895 GB, free: 2.492 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3735/0.4812, allocations: 105.4 MB / 0.6924 GB, free: 10.09 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001765/0.4815, allocations: 69.22 kB / 0.6925 GB, free: 10.06 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2273/0.7088, allocations: 93.6 MB / 0.7839 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7088, allocations: 0 / 0.7839 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001842/0.709, allocations: 56 kB / 0.784 GB, free: 6.668 MB / 0.5105 GB 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.01187/0.7209, allocations: 3.93 MB / 0.7878 GB, free: 2.68 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.721, allocations: 11.98 kB / 0.7878 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007682/0.7287, allocations: 1.279 MB / 0.7891 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00418/0.7329, allocations: 1.828 MB / 0.7908 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007509/0.7336, allocations: 0.6614 MB / 0.7915 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006705/0.7343, allocations: 199.9 kB / 0.7917 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004512/0.7389, allocations: 2.229 MB / 0.7939 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.7389, allocations: 0 / 0.7939 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002504/0.7392, allocations: 76 kB / 0.7939 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.155e-05/0.7392, allocations: 47.98 kB / 0.794 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004366/0.7436, allocations: 2.308 MB / 0.7962 GB, free: 9.879 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.02069/0.7643, allocations: 10.64 MB / 0.8066 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01074/0.7751, allocations: 4.847 MB / 0.8114 GB, free: 9.633 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002769/0.7779, allocations: 1.502 MB / 0.8128 GB, free: 8.137 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003199/0.7782, allocations: 37.88 kB / 0.8129 GB, free: 8.105 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.7783, allocations: 68.45 kB / 0.8129 GB, free: 8.027 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=249): time 4.418e-06/0.7783, allocations: 0 / 0.8129 GB, free: 8.027 MB / 0.5417 GB Notification: Performance of matching and sorting (n=249): time 0.03341/0.8117, allocations: 10.79 MB / 0.8235 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.8118, allocations: 81.34 kB / 0.8235 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00378/0.8156, allocations: 2.35 MB / 0.8258 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005275/0.8161, allocations: 69.7 kB / 0.8259 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001065/0.8172, allocations: 1.376 MB / 0.8272 GB, free: 9.316 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001082/0.8183, allocations: 0.8739 MB / 0.8281 GB, free: 8.43 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.8185, allocations: 44 kB / 0.8281 GB, free: 8.387 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.8186, allocations: 390.5 kB / 0.8285 GB, free: 8 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002098/0.8208, allocations: 1.165 MB / 0.8297 GB, free: 6.832 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00233/0.8231, allocations: 1.434 MB / 0.8311 GB, free: 5.316 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002224/0.8253, allocations: 1.273 MB / 0.8323 GB, free: 4.02 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.8253, allocations: 7.953 kB / 0.8323 GB, free: 4.012 MB / 0.5573 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.007912/0.8333, allocations: 4.14 MB / 0.8363 GB, free: 15.81 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.8333, allocations: 8 kB / 0.8364 GB, free: 15.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.8333, allocations: 4 kB / 0.8364 GB, free: 15.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01711/0.8505, allocations: 5.363 MB / 0.8416 GB, free: 10.44 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/0.852, allocations: 311.5 kB / 0.8419 GB, free: 10.13 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009376/0.8614, allocations: 4.386 MB / 0.8462 GB, free: 5.711 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004111/0.8656, allocations: 469.8 kB / 0.8466 GB, free: 5.25 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000363/0.8659, allocations: 75.98 kB / 0.8467 GB, free: 5.176 MB / 0.573 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 169 * 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.0005749/0.8665, allocations: 212.7 kB / 0.8469 GB, free: 4.961 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008378/0.8674, allocations: 343.8 kB / 0.8472 GB, free: 4.621 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03293/0.9003, allocations: 11.13 MB / 0.8581 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.503e-05/0.9004, allocations: 24 kB / 0.8581 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.9004, allocations: 0 / 0.8581 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.11e-05/0.9004, allocations: 11.95 kB / 0.8581 GB, free: 9.383 MB / 0.5886 GB Warning: The model contains alias variables with conflicting start and/or 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.294/1.194, allocations: 15.25 MB / 0.873 GB, free: 147.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/1.194, allocations: 0 / 0.873 GB, free: 147.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001678/1.196, allocations: 256.1 kB / 0.8733 GB, free: 147.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01463/1.211, allocations: 4.414 MB / 0.8776 GB, free: 147.5 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005786/1.211, allocations: 50.06 kB / 0.8776 GB, free: 147.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0342/1.246, allocations: 16.44 MB / 0.8937 GB, free: 146 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.246, allocations: 6.875 kB / 0.8937 GB, free: 146 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0324/1.278, allocations: 13.04 MB / 0.9064 GB, free: 145.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/1.279, allocations: 0.4992 MB / 0.9069 GB, free: 145.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005212/1.28, allocations: 46.25 kB / 0.907 GB, free: 145.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002971/1.283, allocations: 341.9 kB / 0.9073 GB, free: 145.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001553/1.284, allocations: 0.5151 MB / 0.9078 GB, free: 145.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001881/1.285, allocations: 64.25 kB / 0.9078 GB, free: 145.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002186/1.287, allocations: 1.817 MB / 0.9096 GB, free: 145 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.7e-07/1.287, allocations: 2.078 kB / 0.9096 GB, free: 145 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001987/1.289, allocations: 0.9755 MB / 0.9106 GB, free: 145 MB / 0.5886 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 () * 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.0005357/1.289, allocations: 347.5 kB / 0.9109 GB, free: 144.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01109/1.3, allocations: 4.588 MB / 0.9154 GB, free: 144.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.3, allocations: 3.969 kB / 0.9154 GB, free: 144.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.009015/1.309, allocations: 3.663 MB / 0.919 GB, free: 143 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/1.311, allocations: 264.7 kB / 0.9192 GB, free: 142.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007289/1.318, allocations: 5.043 MB / 0.9241 GB, free: 140.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009096/1.319, allocations: 1.908 MB / 0.926 GB, free: 139.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001038/1.32, allocations: 252.3 kB / 0.9262 GB, free: 139.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005767/1.321, allocations: 156.6 kB / 0.9264 GB, free: 139.5 MB / 0.5886 GB Notification: Performance of SimCode: time 7.31e-07/1.321, allocations: 0 / 0.9264 GB, free: 139.5 MB / 0.5886 GB Notification: Performance of Templates: time 0.06212/1.383, allocations: 50.85 MB / 0.9761 GB, free: 117.2 MB / 0.5886 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)