Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, 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 4.0.0+maint.om/package.mo): time 1.211/1.211, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008581/0.0008581, allocations: 95.41 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4258/0.4258, allocations: 78.02 MB / 414.5 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.351e-05/2.353e-05, allocations: 4 kB / 491.8 MB, free: 13.92 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2741, allocations: 69.35 MB / 0.548 GB, free: 20.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1119/0.3861, allocations: 102.5 MB / 0.6481 GB, free: 13.88 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.3863, allocations: 79.95 kB / 0.6482 GB, free: 13.8 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4923/0.8787, allocations: 100.9 MB / 0.7467 GB, free: 60.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.8787, allocations: 0 / 0.7467 GB, free: 60.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002068/0.8789, allocations: 83.94 kB / 0.7468 GB, free: 60.82 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.01536/0.8943, allocations: 5.778 MB / 0.7525 GB, free: 54.97 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.8944, allocations: 15.97 kB / 0.7525 GB, free: 54.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01662/0.911, allocations: 2.787 MB / 0.7552 GB, free: 52.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00457/0.9156, allocations: 2.249 MB / 0.7574 GB, free: 49.83 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007452/0.9164, allocations: 0.9847 MB / 0.7583 GB, free: 48.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007736/0.9171, allocations: 344 kB / 0.7587 GB, free: 48.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006758/0.9239, allocations: 4.092 MB / 0.7627 GB, free: 44.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.874e-05/0.924, allocations: 7.938 kB / 0.7627 GB, free: 44.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004121/0.9244, allocations: 140 kB / 0.7628 GB, free: 44.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/0.9245, allocations: 91.95 kB / 0.7629 GB, free: 44.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006194/0.9307, allocations: 3.621 MB / 0.7664 GB, free: 40.39 MB / 490.7 MB 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.02913/0.9598, allocations: 18.65 MB / 0.7846 GB, free: 20.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009404/0.9692, allocations: 4.813 MB / 0.7893 GB, free: 15.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003192/0.9725, allocations: 2.234 MB / 0.7915 GB, free: 13.42 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000469/0.973, allocations: 62.94 kB / 0.7916 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00378/0.9767, allocations: 2.619 MB / 0.7941 GB, free: 10.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=384): time 6.001e-06/0.9768, allocations: 0 / 0.7941 GB, free: 10.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=384): time 0.05109/1.028, allocations: 17.6 MB / 0.8113 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.623e-05/1.028, allocations: 149.8 kB / 0.8115 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004244/1.032, allocations: 2.682 MB / 0.8141 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008251/1.033, allocations: 89.7 kB / 0.8142 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001468/1.035, allocations: 1.995 MB / 0.8161 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001578/1.036, allocations: 1.309 MB / 0.8174 GB, free: 2.734 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003036/1.036, allocations: 72 kB / 0.8175 GB, free: 2.664 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002217/1.037, allocations: 445.8 kB / 0.8179 GB, free: 2.223 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003303/1.04, allocations: 1.843 MB / 0.8197 GB, free: 388 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003709/1.044, allocations: 2.422 MB / 0.8221 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003625/1.047, allocations: 2.107 MB / 0.8241 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.428e-05/1.047, allocations: 7.953 kB / 0.8241 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.0543/1.102, allocations: 17.76 MB / 0.8415 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.497e-05/1.102, allocations: 71.39 kB / 0.8415 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.939e-05/1.102, allocations: 16 kB / 0.8416 GB, free: 9.699 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02458/1.126, allocations: 6.965 MB / 0.8484 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003162/1.13, allocations: 0.5772 MB / 0.8489 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06032/1.19, allocations: 25.74 MB / 0.8741 GB, free: 8.234 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005952/1.196, allocations: 0.6996 MB / 0.8747 GB, free: 7.531 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006848/1.197, allocations: 143.9 kB / 0.8749 GB, free: 7.391 MB / 0.5573 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (333): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 2 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.0008816/1.198, allocations: 331.1 kB / 0.8752 GB, free: 7.051 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/1.199, allocations: 466.2 kB / 0.8756 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05499/1.254, allocations: 18.15 MB / 0.8934 GB, free: 4.371 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-05/1.254, allocations: 36 kB / 0.8934 GB, free: 4.336 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.679e-05/1.254, allocations: 28 kB / 0.8934 GB, free: 4.309 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.898e-05/1.254, allocations: 19.92 kB / 0.8934 GB, free: 4.289 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.3246/1.578, allocations: 23.1 MB / 0.916 GB, free: 136.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.08e-05/1.578, allocations: 0 / 0.916 GB, free: 136.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002255/1.581, allocations: 396.1 kB / 0.9164 GB, free: 136.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.021/1.602, allocations: 7.018 MB / 0.9232 GB, free: 136.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006618/1.602, allocations: 70.33 kB / 0.9233 GB, free: 136.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0487/1.651, allocations: 24.58 MB / 0.9473 GB, free: 130.9 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.651, allocations: 3.938 kB / 0.9473 GB, free: 130.9 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05216/1.703, allocations: 20.99 MB / 0.9678 GB, free: 121 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/1.705, allocations: 0.5672 MB / 0.9684 GB, free: 120.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007434/1.706, allocations: 63.72 kB / 0.9684 GB, free: 120.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0042/1.71, allocations: 0.4924 MB / 0.9689 GB, free: 120 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002753/1.712, allocations: 0.7789 MB / 0.9697 GB, free: 119.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003252/1.713, allocations: 95.56 kB / 0.9698 GB, free: 119.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002441/1.715, allocations: 2.028 MB / 0.9717 GB, free: 117.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.715, allocations: 0 / 0.9717 GB, free: 117.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004009/1.719, allocations: 1.774 MB / 0.9735 GB, free: 115.9 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(96,5.5%) 40} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005057/1.72, allocations: 209.5 kB / 0.9737 GB, free: 115.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01834/1.738, allocations: 8.248 MB / 0.9817 GB, free: 108.3 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.738, allocations: 0 / 0.9817 GB, free: 108.3 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01533/1.754, allocations: 6.117 MB / 0.9877 GB, free: 102.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/1.756, allocations: 311.1 kB / 0.988 GB, free: 102.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009539/1.765, allocations: 5.989 MB / 0.9938 GB, free: 97.13 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00142/1.767, allocations: 2.537 MB / 0.9963 GB, free: 95.24 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001431/1.768, allocations: 296.6 kB / 0.9966 GB, free: 95.04 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007678/1.769, allocations: 200.1 kB / 0.9968 GB, free: 94.86 MB / 0.573 GB Notification: Performance of SimCode: time 8.42e-07/1.769, allocations: 4 kB / 0.9968 GB, free: 94.86 MB / 0.573 GB Notification: Performance of Templates: time 0.0942/1.863, allocations: 78.54 MB / 1.073 GB, free: 29.88 MB / 0.573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)