Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009469/0.0009467, allocations: 174.7 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.244/1.244, 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.0008798/0.00088, allocations: 93.31 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4488/0.4488, allocations: 78.09 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.155e-05/3.17e-05, allocations: 4 kB / 491.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3349, allocations: 69.33 MB / 0.548 GB, free: 20.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1188/0.4538, allocations: 99.51 MB / 0.6452 GB, free: 1.043 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.4541, allocations: 83.94 kB / 0.6452 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5118/0.9659, allocations: 69.18 MB / 0.7128 GB, free: 95.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.966, allocations: 0 / 0.7128 GB, free: 95.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002394/0.9662, allocations: 62.25 kB / 0.7129 GB, free: 95.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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.01339/0.9796, allocations: 4.019 MB / 0.7168 GB, free: 91.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.9797, allocations: 11.97 kB / 0.7168 GB, free: 91.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01004/0.9897, allocations: 1.603 MB / 0.7184 GB, free: 90.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003682/0.9935, allocations: 1.627 MB / 0.72 GB, free: 88.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000621/0.9941, allocations: 0.7447 MB / 0.7207 GB, free: 87.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006909/0.9948, allocations: 215.9 kB / 0.7209 GB, free: 87.49 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0043/0.9991, allocations: 2.56 MB / 0.7234 GB, free: 84.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.707e-05/0.9992, allocations: 4 kB / 0.7234 GB, free: 84.85 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002439/0.9994, allocations: 87.98 kB / 0.7235 GB, free: 84.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.821e-05/0.9995, allocations: 56 kB / 0.7235 GB, free: 84.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003772/1.003, allocations: 2.316 MB / 0.7258 GB, free: 82.38 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.01853/1.022, allocations: 9.904 MB / 0.7355 GB, free: 72.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008992/1.031, allocations: 4.183 MB / 0.7395 GB, free: 67.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002703/1.034, allocations: 1.527 MB / 0.741 GB, free: 66.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000292/1.034, allocations: 45.91 kB / 0.7411 GB, free: 66.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00279/1.037, allocations: 1.788 MB / 0.7428 GB, free: 64.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=247): time 4.188e-06/1.037, allocations: 0 / 0.7428 GB, free: 64.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=247): time 0.03646/1.073, allocations: 12.55 MB / 0.7551 GB, free: 51.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/1.073, allocations: 184.2 kB / 0.7553 GB, free: 51.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/1.076, allocations: 1.85 MB / 0.7571 GB, free: 49.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005866/1.076, allocations: 69.77 kB / 0.7571 GB, free: 49.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006191/1.077, allocations: 1.215 MB / 0.7583 GB, free: 48.38 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008297/1.078, allocations: 0.847 MB / 0.7591 GB, free: 47.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/1.078, allocations: 48 kB / 0.7592 GB, free: 47.47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.44e-05/1.078, allocations: 398.9 kB / 0.7596 GB, free: 47.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001981/1.08, allocations: 1.259 MB / 0.7608 GB, free: 45.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00208/1.082, allocations: 1.556 MB / 0.7623 GB, free: 44.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002086/1.084, allocations: 1.481 MB / 0.7638 GB, free: 42.62 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/1.084, allocations: 0 / 0.7638 GB, free: 42.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.03602/1.12, allocations: 12.61 MB / 0.7761 GB, free: 29.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.347e-05/1.12, allocations: 114.8 kB / 0.7762 GB, free: 29.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/1.12, allocations: 8 kB / 0.7762 GB, free: 29.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01603/1.137, allocations: 5.156 MB / 0.7812 GB, free: 24.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002232/1.139, allocations: 423.4 kB / 0.7816 GB, free: 24.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03811/1.177, allocations: 17.94 MB / 0.7992 GB, free: 6.098 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004418/1.181, allocations: 0.5406 MB / 0.7997 GB, free: 5.555 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004339/1.182, allocations: 87.97 kB / 0.7998 GB, free: 5.469 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.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 order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (224): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 4 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.000598/1.182, allocations: 297.4 kB / 0.8001 GB, free: 5.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007301/1.183, allocations: 300.3 kB / 0.8003 GB, free: 4.863 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03761/1.221, allocations: 12.9 MB / 0.8129 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-05/1.221, allocations: 24 kB / 0.813 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-05/1.221, allocations: 16 kB / 0.813 GB, free: 7.867 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.497e-05/1.221, allocations: 15.95 kB / 0.813 GB, free: 7.852 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 postOpt removeSimpleEquations (simulation): time 0.04388/1.265, allocations: 16.42 MB / 0.829 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-05/1.265, allocations: 4 kB / 0.829 GB, free: 7.273 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001656/1.267, allocations: 243.7 kB / 0.8293 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0162/1.283, allocations: 5.004 MB / 0.8341 GB, free: 2.016 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006667/1.284, allocations: 55.98 kB / 0.8342 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03965/1.323, allocations: 19.32 MB / 0.8531 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.323, allocations: 4 kB / 0.8531 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04289/1.366, allocations: 14.85 MB / 0.8676 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/1.367, allocations: 408.9 kB / 0.868 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008582/1.368, allocations: 51.98 kB / 0.868 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003709/1.372, allocations: 415.8 kB / 0.8684 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002241/1.374, allocations: 0.5836 MB / 0.869 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000268/1.374, allocations: 63.98 kB / 0.869 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00215/1.376, allocations: 1.417 MB / 0.8704 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.9e-07/1.376, allocations: 0 / 0.8704 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003341/1.38, allocations: 1.108 MB / 0.8715 GB, free: 11.16 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(64,8.0%) 24} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004239/1.38, allocations: 198.9 kB / 0.8717 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.015/1.395, allocations: 5.722 MB / 0.8773 GB, free: 5.152 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/1.395, allocations: 4 kB / 0.8773 GB, free: 5.148 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01303/1.408, allocations: 4.378 MB / 0.8816 GB, free: 0.6953 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/1.41, allocations: 224.5 kB / 0.8818 GB, free: 488 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007381/1.418, allocations: 4.027 MB / 0.8857 GB, free: 12.41 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/1.419, allocations: 1.864 MB / 0.8875 GB, free: 10.51 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001019/1.42, allocations: 215.7 kB / 0.8877 GB, free: 10.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005231/1.421, allocations: 135.4 kB / 0.8879 GB, free: 10.16 MB / 0.573 GB Notification: Performance of SimCode: time 4.91e-07/1.421, allocations: 4 kB / 0.8879 GB, free: 10.16 MB / 0.573 GB Notification: Performance of Templates: time 0.3531/1.774, allocations: 55.25 MB / 0.9418 GB, free: 163.6 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)