Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.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_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001559/0.001559, allocations: 175.2 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.328/1.328, allocations: 205.2 MB / 218.5 MB, free: 9.148 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.0009482/0.0009482, allocations: 86.17 kB / 266.6 MB, free: 9.262 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.06745/0.06745, allocations: 12.59 MB / 327.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2854/0.2854, allocations: 78.03 MB / 456.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.191e-05/3.21e-05, allocations: 4 kB / 0.5218 GB, free: 23.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1113, allocations: 69.33 MB / 0.5895 GB, free: 2.496 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3717/0.483, allocations: 101.5 MB / 0.6886 GB, free: 13.97 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.4833, allocations: 73.2 kB / 0.6887 GB, free: 13.93 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1963/0.6796, allocations: 71.31 MB / 0.7583 GB, free: 1.125 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.6797, allocations: 0 / 0.7583 GB, free: 1.125 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000174/0.6798, allocations: 52 kB / 0.7583 GB, free: 1.074 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 451 * Number of variables: 451 Notification: Performance of Generate backend data structure: time 0.009583/0.6894, allocations: 3.46 MB / 0.7617 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.6895, allocations: 11.98 kB / 0.7617 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009054/0.6985, allocations: 1.459 MB / 0.7632 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004911/0.7035, allocations: 1.722 MB / 0.7648 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006038/0.7042, allocations: 446.8 kB / 0.7653 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008935/0.7051, allocations: 179.9 kB / 0.7654 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005138/0.7102, allocations: 2.03 MB / 0.7674 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.717e-05/0.7103, allocations: 0 / 0.7674 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002649/0.7106, allocations: 72 kB / 0.7675 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.13e-05/0.7106, allocations: 51.88 kB / 0.7675 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003985/0.7146, allocations: 2.037 MB / 0.7695 GB, free: 5.422 MB / 0.4948 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.01649/0.7311, allocations: 9.532 MB / 0.7788 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009268/0.7404, allocations: 4.32 MB / 0.7831 GB, free: 6.895 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00228/0.7427, allocations: 1.358 MB / 0.7844 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002878/0.743, allocations: 41.95 kB / 0.7844 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.7431, allocations: 60.5 kB / 0.7845 GB, free: 5.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=223): time 4.258e-06/0.7431, allocations: 0 / 0.7845 GB, free: 5.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=223): time 0.02734/0.7704, allocations: 8.279 MB / 0.7926 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.7705, allocations: 77.41 kB / 0.7926 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004092/0.7746, allocations: 2.24 MB / 0.7948 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004971/0.7751, allocations: 61.7 kB / 0.7949 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009719/0.7761, allocations: 1.225 MB / 0.7961 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001062/0.7772, allocations: 0.7893 MB / 0.7969 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002896/0.7775, allocations: 40 kB / 0.7969 GB, free: 8.652 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.7777, allocations: 386.1 kB / 0.7973 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002052/0.7797, allocations: 1.059 MB / 0.7983 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002146/0.7819, allocations: 1.339 MB / 0.7996 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/0.784, allocations: 1.185 MB / 0.8008 GB, free: 4.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.7841, allocations: 0 / 0.8008 GB, free: 4.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01735/0.8014, allocations: 6.135 MB / 0.8067 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.8015, allocations: 8 kB / 0.8068 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.8015, allocations: 8 kB / 0.8068 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01307/0.8146, allocations: 3.291 MB / 0.81 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006633/0.8212, allocations: 1.502 MB / 0.8114 GB, free: 9.527 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0261/0.8474, allocations: 17.61 MB / 0.8286 GB, free: 6.965 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00378/0.8512, allocations: 370 kB / 0.829 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004802/0.8517, allocations: 71.98 kB / 0.8291 GB, free: 6.531 MB / 0.5573 GB Warning: Assuming fixed start value for the following 8 variables: g4.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g3.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g2.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g1.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g4.order6_1.e2d:VARIABLE(start = g4.order6_1.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real g4.order6_1.delta:VARIABLE(start = g4.order6_1.delta0 unit = "rad" ) "Rotor angle" type: Real g3.order6_1.e2d:VARIABLE(start = g3.order6_1.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real g3.order6_1.delta:VARIABLE(start = g3.order6_1.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 9 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,75.0%) 2,(4,75.0%) 2,(1,100.0%) 1,(3,88.9%) 17,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {8 22} Notification: Performance of prepare postOptimizeDAE: time 0.0007834/0.8525, allocations: 242.5 kB / 0.8293 GB, free: 6.289 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009138/0.8534, allocations: 316.1 kB / 0.8296 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02539/0.8788, allocations: 8.588 MB / 0.838 GB, free: 13.36 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-05/0.8789, allocations: 28 kB / 0.838 GB, free: 13.34 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.8789, allocations: 0 / 0.838 GB, free: 13.34 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-05/0.8789, allocations: 11.95 kB / 0.838 GB, free: 13.32 MB / 0.573 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.03127/0.9102, allocations: 12.53 MB / 0.8503 GB, free: 0.5703 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.671e-05/0.9103, allocations: 0 / 0.8503 GB, free: 0.5703 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001643/0.9119, allocations: 223.7 kB / 0.8505 GB, free: 360 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01577/0.9277, allocations: 3.987 MB / 0.8544 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007114/0.9285, allocations: 44 kB / 0.8544 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4329/1.361, allocations: 13.2 MB / 0.8673 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.361, allocations: 3.5 kB / 0.8673 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03276/1.394, allocations: 10.32 MB / 0.8774 GB, free: 157.9 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/1.395, allocations: 474.4 kB / 0.8778 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008812/1.396, allocations: 41.09 kB / 0.8779 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003465/1.4, allocations: 218.3 kB / 0.8781 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001283/1.401, allocations: 380.5 kB / 0.8784 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000228/1.401, allocations: 55.94 kB / 0.8785 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002835/1.404, allocations: 1.714 MB / 0.8802 GB, free: 157.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.31e-07/1.404, allocations: 1.375 kB / 0.8802 GB, free: 157.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003511/1.408, allocations: 1 MB / 0.8811 GB, free: 157.5 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 24 (g1.order6_1.delta,g1.order6_1.w,g1.order6_1.e1q,g1.order6_1.e1d,g1.order6_1.e2q,g1.order6_1.e2d,g2.order6_1.delta,g2.order6_1.w,g2.order6_1.e1q,g2.order6_1.e1d,g2.order6_1.e2q,g2.order6_1.e2d,g3.order6_1.delta,g3.order6_1.w,g3.order6_1.e1q,g3.order6_1.e1d,g3.order6_1.e2q,g3.order6_1.e2d,g4.order6_1.delta,g4.order6_1.w,g4.order6_1.e1q,g4.order6_1.e1d,g4.order6_1.e2q,g4.order6_1.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 135 * 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 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007484/1.408, allocations: 313.9 kB / 0.8814 GB, free: 157.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01152/1.42, allocations: 5.452 MB / 0.8868 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.42, allocations: 1.094 kB / 0.8868 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00923/1.429, allocations: 3.268 MB / 0.89 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/1.431, allocations: 220.6 kB / 0.8902 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007422/1.438, allocations: 4.733 MB / 0.8948 GB, free: 153.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/1.44, allocations: 1.821 MB / 0.8966 GB, free: 153.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001035/1.441, allocations: 202.7 kB / 0.8968 GB, free: 153.1 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006461/1.441, allocations: 136.6 kB / 0.8969 GB, free: 153.1 MB / 0.5886 GB Notification: Performance of SimCode: time 8.72e-07/1.441, allocations: 0 / 0.8969 GB, free: 153.1 MB / 0.5886 GB Notification: Performance of Templates: time 0.06107/1.502, allocations: 49.6 MB / 0.9453 GB, free: 142.9 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)