Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001125/0.001125, allocations: 180.9 kB / 7.651 MB, free: 1.422 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.318/1.318, allocations: 221.5 MB / 229.6 MB, free: 7.59 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.0008539/0.0008539, allocations: 89.73 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4679/0.4679, allocations: 78.94 MB / 410.2 MB, free: 5.988 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.706e-05/1.724e-05, allocations: 4 kB / 485.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.163, allocations: 69.51 MB / 0.5424 GB, free: 5.918 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.419/0.582, allocations: 99.42 MB / 0.6395 GB, free: 14.73 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.5823, allocations: 80.98 kB / 0.6396 GB, free: 14.65 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1869/0.7692, allocations: 69.18 MB / 0.7072 GB, free: 9.359 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7692, allocations: 4 kB / 0.7072 GB, free: 9.355 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000186/0.7694, allocations: 64.62 kB / 0.7072 GB, free: 9.293 MB / 0.5105 GB 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.01337/0.7828, allocations: 4.014 MB / 0.7111 GB, free: 5.195 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.7829, allocations: 8.031 kB / 0.7111 GB, free: 5.188 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/0.7935, allocations: 1.604 MB / 0.7127 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004535/0.7981, allocations: 1.623 MB / 0.7143 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008557/0.799, allocations: 0.6782 MB / 0.715 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007831/0.7998, allocations: 127.9 kB / 0.7151 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004701/0.8045, allocations: 2.215 MB / 0.7172 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004497/0.809, allocations: 2.268 MB / 0.7195 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.808e-05/0.8091, allocations: 0 / 0.7195 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002366/0.8093, allocations: 4 kB / 0.7195 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.161e-05/0.8094, allocations: 48 kB / 0.7195 GB, free: 12.36 MB / 0.5261 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.02026/0.8296, allocations: 9.575 MB / 0.7289 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00984/0.8395, allocations: 4.083 MB / 0.7328 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002652/0.8422, allocations: 1.465 MB / 0.7343 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002933/0.8425, allocations: 41.91 kB / 0.7343 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003007/0.8455, allocations: 1.713 MB / 0.736 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=247): time 4.278e-06/0.8456, allocations: 0 / 0.736 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=247): time 0.03852/0.8841, allocations: 12.31 MB / 0.748 GB, free: 14.58 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.8842, allocations: 188.3 kB / 0.7482 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002917/0.8872, allocations: 1.693 MB / 0.7499 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006548/0.8878, allocations: 25.7 kB / 0.7499 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009645/0.8888, allocations: 1.203 MB / 0.7511 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001105/0.8899, allocations: 0.8236 MB / 0.7519 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.8901, allocations: 1.312 kB / 0.7519 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.8903, allocations: 394.9 kB / 0.7522 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002097/0.8924, allocations: 1.208 MB / 0.7534 GB, free: 8.973 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002323/0.8948, allocations: 1.502 MB / 0.7549 GB, free: 7.379 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002231/0.897, allocations: 1.322 MB / 0.7562 GB, free: 6.027 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/0.897, allocations: 0 / 0.7562 GB, free: 6.027 MB / 0.5573 GB Notification: Performance of matching and sorting (n=314) (initialization): time 0.332/1.229, allocations: 12.28 MB / 0.7682 GB, free: 112.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.517e-05/1.229, allocations: 116.9 kB / 0.7683 GB, free: 112.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/1.229, allocations: 6.156 kB / 0.7683 GB, free: 112.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01566/1.245, allocations: 4.961 MB / 0.7731 GB, free: 112.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002198/1.247, allocations: 419.2 kB / 0.7735 GB, free: 112.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03824/1.285, allocations: 17.6 MB / 0.7907 GB, free: 111 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004467/1.29, allocations: 0.4886 MB / 0.7912 GB, free: 111 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004738/1.29, allocations: 88.5 kB / 0.7913 GB, free: 111 MB / 0.5573 GB 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.0007691/1.291, allocations: 209.3 kB / 0.7915 GB, free: 110.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008861/1.292, allocations: 297.5 kB / 0.7917 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03988/1.332, allocations: 12.6 MB / 0.8041 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001038/1.332, allocations: 29.88 kB / 0.8041 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001024/1.332, allocations: 20.05 kB / 0.8041 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000148/1.332, allocations: 12.84 kB / 0.8041 GB, free: 110.1 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.04268/1.375, allocations: 15.92 MB / 0.8197 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.206e-05/1.375, allocations: 8.344 kB / 0.8197 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/1.377, allocations: 243.7 kB / 0.8199 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01463/1.391, allocations: 4.965 MB / 0.8248 GB, free: 108.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006528/1.392, allocations: 17.59 kB / 0.8248 GB, free: 108.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03462/1.427, allocations: 19.02 MB / 0.8433 GB, free: 98.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/1.427, allocations: 2.438 kB / 0.8433 GB, free: 98.38 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03766/1.464, allocations: 14.57 MB / 0.8576 GB, free: 94.65 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/1.466, allocations: 414.2 kB / 0.858 GB, free: 94.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008037/1.466, allocations: 10.94 kB / 0.858 GB, free: 94.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003205/1.47, allocations: 372.1 kB / 0.8583 GB, free: 94.34 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001939/1.472, allocations: 0.5835 MB / 0.8589 GB, free: 94.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002115/1.472, allocations: 64.69 kB / 0.859 GB, free: 94.19 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001887/1.474, allocations: 1.269 MB / 0.8602 GB, free: 93.02 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.92e-07/1.474, allocations: 0 / 0.8602 GB, free: 93.02 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003957/1.478, allocations: 1.007 MB / 0.8612 GB, free: 92.06 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.0004617/1.478, allocations: 147.4 kB / 0.8613 GB, free: 91.94 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01314/1.491, allocations: 5.545 MB / 0.8667 GB, free: 86.87 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/1.491, allocations: 0 / 0.8667 GB, free: 86.87 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01148/1.503, allocations: 4.264 MB / 0.8709 GB, free: 83.08 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/1.505, allocations: 179.3 kB / 0.8711 GB, free: 82.92 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007141/1.513, allocations: 3.915 MB / 0.8749 GB, free: 79.37 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/1.514, allocations: 1.86 MB / 0.8767 GB, free: 77.91 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00124/1.515, allocations: 213.4 kB / 0.8769 GB, free: 77.77 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005231/1.515, allocations: 130.3 kB / 0.877 GB, free: 77.65 MB / 0.5573 GB Notification: Performance of SimCode: time 1.863e-06/1.515, allocations: 0 / 0.877 GB, free: 77.65 MB / 0.5573 GB Notification: Performance of Templates: time 0.07203/1.588, allocations: 51.01 MB / 0.9269 GB, free: 37.04 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)