Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, 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 4.0.0+maint.om/package.mo): time 1.208/1.208, allocations: 221.4 MB / 234.6 MB, free: 14.38 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.0008257/0.0008257, allocations: 88.98 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4237/0.4237, allocations: 78.03 MB / 414.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.337e-05/3.35e-05, allocations: 4 kB / 491.8 MB, free: 13.88 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2894, allocations: 69.35 MB / 0.5479 GB, free: 20.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1133/0.4027, allocations: 101.4 MB / 0.647 GB, free: 15 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/0.4029, allocations: 83.94 kB / 0.647 GB, free: 14.92 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4784/0.8813, allocations: 99.92 MB / 0.7446 GB, free: 62.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.8814, allocations: 0 / 0.7446 GB, free: 62.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001942/0.8816, allocations: 84 kB / 0.7447 GB, free: 62.85 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01448/0.8961, allocations: 5.747 MB / 0.7503 GB, free: 57.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.8961, allocations: 11.97 kB / 0.7503 GB, free: 57.01 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01581/0.9119, allocations: 2.783 MB / 0.753 GB, free: 54.22 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003903/0.9159, allocations: 2.221 MB / 0.7552 GB, free: 51.92 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007118/0.9166, allocations: 0.9846 MB / 0.7562 GB, free: 50.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006826/0.9173, allocations: 340 kB / 0.7565 GB, free: 50.47 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0064/0.9237, allocations: 4.084 MB / 0.7605 GB, free: 46.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.852e-05/0.9238, allocations: 3.953 kB / 0.7605 GB, free: 46.35 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003866/0.9242, allocations: 140 kB / 0.7606 GB, free: 46.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.316e-05/0.9242, allocations: 84 kB / 0.7607 GB, free: 46.13 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005766/0.93, allocations: 3.613 MB / 0.7642 GB, free: 42.52 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.02686/0.9569, allocations: 18.58 MB / 0.7824 GB, free: 22.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009272/0.9662, allocations: 4.794 MB / 0.7871 GB, free: 17.87 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003198/0.9694, allocations: 2.219 MB / 0.7892 GB, free: 15.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000423/0.9698, allocations: 70.91 kB / 0.7893 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003665/0.9735, allocations: 2.597 MB / 0.7918 GB, free: 12.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=382): time 5.992e-06/0.9735, allocations: 3.938 kB / 0.7918 GB, free: 12.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=382): time 0.04911/1.023, allocations: 17.58 MB / 0.809 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.703e-05/1.023, allocations: 145.8 kB / 0.8091 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004332/1.027, allocations: 2.642 MB / 0.8117 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008498/1.028, allocations: 89.7 kB / 0.8118 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001428/1.029, allocations: 2.006 MB / 0.8138 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001756/1.031, allocations: 1.293 MB / 0.815 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003041/1.032, allocations: 76 kB / 0.8151 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002188/1.032, allocations: 441.7 kB / 0.8155 GB, free: 4.516 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003259/1.035, allocations: 1.839 MB / 0.8173 GB, free: 2.676 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003598/1.039, allocations: 2.41 MB / 0.8197 GB, free: 72 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003515/1.042, allocations: 2.084 MB / 0.8217 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/1.042, allocations: 4 kB / 0.8217 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.05239/1.095, allocations: 17.74 MB / 0.839 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.512e-05/1.095, allocations: 71.39 kB / 0.8391 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/1.095, allocations: 15.94 kB / 0.8391 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02386/1.119, allocations: 6.977 MB / 0.8459 GB, free: 5.074 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002912/1.122, allocations: 0.5539 MB / 0.8465 GB, free: 4.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05958/1.181, allocations: 25.78 MB / 0.8716 GB, free: 10.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005552/1.187, allocations: 0.7074 MB / 0.8723 GB, free: 9.867 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005132/1.187, allocations: 132 kB / 0.8725 GB, free: 9.738 MB / 0.5573 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis 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 (329): * Single equations (assignments): 326 * 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.0008279/1.188, allocations: 330.9 kB / 0.8728 GB, free: 9.398 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009413/1.189, allocations: 454.4 kB / 0.8732 GB, free: 8.949 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05348/1.243, allocations: 18.13 MB / 0.8909 GB, free: 6.758 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.583e-05/1.243, allocations: 40 kB / 0.8909 GB, free: 6.719 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.713e-05/1.243, allocations: 32 kB / 0.891 GB, free: 6.688 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001027/1.243, allocations: 19.92 kB / 0.891 GB, free: 6.668 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.3361/1.579, allocations: 23.07 MB / 0.9135 GB, free: 136.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.915e-05/1.579, allocations: 0 / 0.9135 GB, free: 136.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002134/1.581, allocations: 389.3 kB / 0.9139 GB, free: 136.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02093/1.602, allocations: 7.031 MB / 0.9208 GB, free: 136.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008047/1.603, allocations: 72.38 kB / 0.9208 GB, free: 136.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04767/1.651, allocations: 24.48 MB / 0.9447 GB, free: 131.7 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.651, allocations: 3.797 kB / 0.9448 GB, free: 131.7 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05116/1.702, allocations: 20.95 MB / 0.9652 GB, free: 122.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/1.703, allocations: 0.5618 MB / 0.9658 GB, free: 122 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006699/1.704, allocations: 62.53 kB / 0.9658 GB, free: 122 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003805/1.708, allocations: 0.4888 MB / 0.9663 GB, free: 121.6 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002648/1.711, allocations: 0.7778 MB / 0.9671 GB, free: 121.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00029/1.711, allocations: 91.42 kB / 0.9671 GB, free: 121.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002289/1.713, allocations: 2.013 MB / 0.9691 GB, free: 119.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 2e-07/1.713, allocations: 0 / 0.9691 GB, free: 119.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003578/1.717, allocations: 1.763 MB / 0.9708 GB, free: 117.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (246): * Single equations (assignments): 243 * 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.0004464/1.717, allocations: 208.4 kB / 0.971 GB, free: 117.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01788/1.735, allocations: 8.218 MB / 0.9791 GB, free: 109.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/1.735, allocations: 1.312 kB / 0.9791 GB, free: 109.9 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01501/1.75, allocations: 6.101 MB / 0.985 GB, free: 104.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/1.753, allocations: 315.7 kB / 0.9853 GB, free: 104.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0099/1.762, allocations: 5.809 MB / 0.991 GB, free: 98.92 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/1.764, allocations: 2.537 MB / 0.9935 GB, free: 97.02 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001424/1.765, allocations: 300.5 kB / 0.9937 GB, free: 96.82 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007501/1.766, allocations: 197 kB / 0.9939 GB, free: 96.64 MB / 0.573 GB Notification: Performance of SimCode: time 7.22e-07/1.766, allocations: 0 / 0.9939 GB, free: 96.64 MB / 0.573 GB Notification: Performance of Templates: time 0.09475/1.861, allocations: 78.03 MB / 1.07 GB, free: 32.21 MB / 0.573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)