Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 221.5 MB / 229.6 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008579/0.0008578, allocations: 94.36 kB / 280.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4742/0.4742, allocations: 78.06 MB / 409.3 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.207e-05/1.209e-05, allocations: 0 / 484.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1354, allocations: 69.37 MB / 0.5413 GB, free: 6.859 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4013/0.5368, allocations: 102.1 MB / 0.641 GB, free: 13.48 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.537, allocations: 75.95 kB / 0.6411 GB, free: 13.41 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2578/0.7948, allocations: 100.1 MB / 0.7388 GB, free: 8.898 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.564e-06/0.7949, allocations: 0 / 0.7388 GB, free: 8.898 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0005365/0.7954, allocations: 84 kB / 0.7389 GB, free: 8.816 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.02051/0.8159, allocations: 5.805 MB / 0.7446 GB, free: 2.934 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.816, allocations: 8.031 kB / 0.7446 GB, free: 2.926 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01764/0.8337, allocations: 2.776 MB / 0.7473 GB, free: 144 kB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006946/0.8406, allocations: 2.257 MB / 0.7495 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001191/0.8419, allocations: 0.8714 MB / 0.7503 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001708/0.8436, allocations: 208.8 kB / 0.7505 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009652/0.8533, allocations: 3.455 MB / 0.7539 GB, free: 9.141 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01166/0.865, allocations: 3.602 MB / 0.7574 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001182/0.8651, allocations: 0 / 0.7574 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001004/0.8662, allocations: 8 kB / 0.7574 GB, free: 5.504 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.946e-05/0.8662, allocations: 84 kB / 0.7575 GB, free: 5.422 MB / 0.5573 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.3484/1.215, allocations: 18.11 MB / 0.7752 GB, free: 86.93 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009763/1.224, allocations: 4.729 MB / 0.7798 GB, free: 86.5 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004324/1.229, allocations: 2.131 MB / 0.7819 GB, free: 86.47 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000545/1.229, allocations: 72.05 kB / 0.782 GB, free: 86.46 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003844/1.233, allocations: 2.502 MB / 0.7844 GB, free: 86.33 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=385): time 6.211e-06/1.233, allocations: 5.438 kB / 0.7844 GB, free: 86.33 MB / 0.5573 GB Notification: Performance of matching and sorting (n=385): time 0.05265/1.286, allocations: 17.31 MB / 0.8013 GB, free: 85.59 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/1.286, allocations: 148.8 kB / 0.8015 GB, free: 85.46 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0045/1.291, allocations: 2.481 MB / 0.8039 GB, free: 85.18 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001064/1.292, allocations: 26.31 kB / 0.8039 GB, free: 85.15 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001485/1.293, allocations: 1.993 MB / 0.8059 GB, free: 84.73 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002407/1.296, allocations: 1.266 MB / 0.8071 GB, free: 84.05 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003053/1.296, allocations: 0 / 0.8071 GB, free: 84.05 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002876/1.296, allocations: 450.7 kB / 0.8075 GB, free: 83.74 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003459/1.3, allocations: 1.78 MB / 0.8093 GB, free: 83.73 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003365/1.303, allocations: 2.343 MB / 0.8116 GB, free: 83.18 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003144/1.306, allocations: 1.974 MB / 0.8135 GB, free: 83.12 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.589e-05/1.306, allocations: 7.875 kB / 0.8135 GB, free: 83.11 MB / 0.5573 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.05011/1.356, allocations: 17.43 MB / 0.8305 GB, free: 82.02 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.728e-05/1.356, allocations: 62.94 kB / 0.8306 GB, free: 81.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.073e-05/1.356, allocations: 19.44 kB / 0.8306 GB, free: 81.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0217/1.378, allocations: 6.986 MB / 0.8374 GB, free: 81.54 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002833/1.381, allocations: 0.5518 MB / 0.838 GB, free: 81.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0522/1.433, allocations: 26.57 MB / 0.8639 GB, free: 69.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00562/1.439, allocations: 0.6328 MB / 0.8645 GB, free: 69.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000536/1.439, allocations: 128.8 kB / 0.8647 GB, free: 69.73 MB / 0.5573 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-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 (334): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.0008788/1.44, allocations: 208 kB / 0.8649 GB, free: 69.57 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/1.441, allocations: 461.5 kB / 0.8653 GB, free: 69.34 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04715/1.489, allocations: 17.78 MB / 0.8827 GB, free: 61.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.365e-05/1.489, allocations: 40 kB / 0.8827 GB, free: 61.66 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-05/1.489, allocations: 28 kB / 0.8827 GB, free: 61.64 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001274/1.489, allocations: 23.11 kB / 0.8827 GB, free: 61.64 MB / 0.5573 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.05715/1.546, allocations: 22.44 MB / 0.9047 GB, free: 44.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.438e-05/1.546, allocations: 0 / 0.9047 GB, free: 44.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002531/1.549, allocations: 395.5 kB / 0.905 GB, free: 44.33 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02/1.569, allocations: 6.958 MB / 0.9118 GB, free: 38.94 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008835/1.57, allocations: 20.25 kB / 0.9118 GB, free: 38.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04647/1.616, allocations: 24.18 MB / 0.9355 GB, free: 17.33 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/1.616, allocations: 4 kB / 0.9355 GB, free: 17.33 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05244/1.669, allocations: 20.67 MB / 0.9556 GB, free: 364 kB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001829/1.67, allocations: 0.5629 MB / 0.9562 GB, free: 15.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001169/1.672, allocations: 4 kB / 0.9562 GB, free: 15.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004526/1.676, allocations: 443.1 kB / 0.9566 GB, free: 15.47 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00262/1.679, allocations: 0.7833 MB / 0.9574 GB, free: 15.04 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003045/1.679, allocations: 92.73 kB / 0.9575 GB, free: 14.95 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002657/1.682, allocations: 1.84 MB / 0.9593 GB, free: 13.27 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.8e-07/1.682, allocations: 0 / 0.9593 GB, free: 13.27 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005434/1.687, allocations: 1.599 MB / 0.9608 GB, free: 11.67 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (249): * Single equations (assignments): 246 * 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 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005577/1.688, allocations: 155.2 kB / 0.961 GB, free: 11.53 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02206/1.71, allocations: 8.116 MB / 0.9689 GB, free: 4.098 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.517e-06/1.71, allocations: 0 / 0.9689 GB, free: 4.098 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01987/1.73, allocations: 5.992 MB / 0.9748 GB, free: 14.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00387/1.734, allocations: 259 kB / 0.975 GB, free: 14.15 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/1.747, allocations: 5.924 MB / 0.9808 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002163/1.749, allocations: 2.547 MB / 0.9833 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00185/1.751, allocations: 297.2 kB / 0.9836 GB, free: 5.344 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008238/1.752, allocations: 199.4 kB / 0.9838 GB, free: 5.148 MB / 0.5886 GB Notification: Performance of SimCode: time 8.22e-07/1.752, allocations: 0 / 0.9838 GB, free: 5.148 MB / 0.5886 GB Notification: Performance of Templates: time 0.4358/2.188, allocations: 73.05 MB / 1.055 GB, free: 111.2 MB / 0.5886 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)