Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 173.9 kB / 7.648 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.32/1.32, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.0008843/0.0008842, allocations: 88.17 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4444/0.4444, allocations: 78.07 MB / 409.3 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.536e-05/1.528e-05, allocations: 7.938 kB / 485 MB, free: 12.15 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.108, allocations: 69.35 MB / 0.5414 GB, free: 6.73 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.338/0.446, allocations: 99.98 MB / 0.639 GB, free: 15.41 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.4462, allocations: 80.92 kB / 0.6391 GB, free: 15.34 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1809/0.6272, allocations: 69.27 MB / 0.7067 GB, free: 9.953 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6272, allocations: 0 / 0.7067 GB, free: 9.953 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002045/0.6274, allocations: 64.44 kB / 0.7068 GB, free: 9.891 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01249/0.6399, allocations: 4.061 MB / 0.7108 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.64, allocations: 12.03 kB / 0.7108 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/0.65, allocations: 1.6 MB / 0.7123 GB, free: 4.129 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00366/0.6537, allocations: 1.643 MB / 0.7139 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006976/0.6544, allocations: 0.6705 MB / 0.7146 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006311/0.6551, allocations: 136.5 kB / 0.7147 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00424/0.6593, allocations: 2.223 MB / 0.7169 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004093/0.6634, allocations: 2.282 MB / 0.7191 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.674e-05/0.6635, allocations: 0 / 0.7191 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002314/0.6637, allocations: 3.953 kB / 0.7191 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.812e-05/0.6638, allocations: 55.98 kB / 0.7192 GB, free: 12.86 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.01859/0.6824, allocations: 9.633 MB / 0.7286 GB, free: 2.828 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009638/0.692, allocations: 4.106 MB / 0.7326 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002231/0.6943, allocations: 1.477 MB / 0.734 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003062/0.6946, allocations: 41.95 kB / 0.7341 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00266/0.6973, allocations: 1.733 MB / 0.7358 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=249): time 4.058e-06/0.6973, allocations: 0 / 0.7358 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of matching and sorting (n=249): time 0.03885/0.7362, allocations: 12.34 MB / 0.7478 GB, free: 14.94 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.306e-05/0.7363, allocations: 184.3 kB / 0.748 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002643/0.7389, allocations: 1.729 MB / 0.7497 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005163/0.7395, allocations: 29.64 kB / 0.7497 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008535/0.7403, allocations: 1.211 MB / 0.7509 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009451/0.7413, allocations: 0.8273 MB / 0.7517 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.7415, allocations: 0 / 0.7517 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.7416, allocations: 399 kB / 0.7521 GB, free: 10.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002012/0.7437, allocations: 1.22 MB / 0.7533 GB, free: 9.273 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002294/0.746, allocations: 1.515 MB / 0.7548 GB, free: 7.668 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002244/0.7482, allocations: 1.336 MB / 0.7561 GB, free: 6.301 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/0.7483, allocations: 4 kB / 0.7561 GB, free: 6.297 MB / 0.5573 GB Notification: Performance of matching and sorting (n=318) (initialization): time 0.2908/1.039, allocations: 12.3 MB / 0.7681 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.065e-05/1.039, allocations: 115.4 kB / 0.7682 GB, free: 113.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/1.039, allocations: 6.5 kB / 0.7682 GB, free: 113.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0154/1.055, allocations: 4.995 MB / 0.7731 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002343/1.057, allocations: 437.6 kB / 0.7735 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03868/1.096, allocations: 17.54 MB / 0.7906 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00409/1.1, allocations: 499.4 kB / 0.7911 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005512/1.1, allocations: 93.55 kB / 0.7912 GB, free: 111.7 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 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 Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.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 (228): * Single equations (assignments): 223 * 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 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.0009018/1.101, allocations: 214.4 kB / 0.7914 GB, free: 111.6 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03837/1.14, allocations: 12.35 MB / 0.8034 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001269/1.141, allocations: 297.4 kB / 0.8037 GB, free: 110.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03767/1.179, allocations: 12.63 MB / 0.8161 GB, free: 110 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.455e-05/1.179, allocations: 28.7 kB / 0.8161 GB, free: 110 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.889e-05/1.179, allocations: 18.34 kB / 0.8161 GB, free: 110 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.645e-05/1.179, allocations: 11.34 kB / 0.8161 GB, free: 110 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.04117/1.22, allocations: 15.98 MB / 0.8317 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/1.22, allocations: 0.75 kB / 0.8317 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001551/1.222, allocations: 253 kB / 0.832 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01444/1.236, allocations: 4.996 MB / 0.8368 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005016/1.237, allocations: 17.33 kB / 0.8369 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03438/1.271, allocations: 18.97 MB / 0.8554 GB, free: 96.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/1.271, allocations: 0 / 0.8554 GB, free: 96.89 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03814/1.309, allocations: 14.63 MB / 0.8697 GB, free: 86.59 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008699/1.31, allocations: 414.8 kB / 0.8701 GB, free: 86.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005843/1.311, allocations: 4.5 kB / 0.8701 GB, free: 86.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003131/1.314, allocations: 370.7 kB / 0.8704 GB, free: 85.95 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001817/1.316, allocations: 0.5863 MB / 0.871 GB, free: 85.63 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002173/1.316, allocations: 70.89 kB / 0.8711 GB, free: 85.57 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001534/1.318, allocations: 1.285 MB / 0.8723 GB, free: 84.38 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.318, allocations: 0 / 0.8723 GB, free: 84.38 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002889/1.32, allocations: 1.012 MB / 0.8733 GB, free: 83.41 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,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 (158): * Single equations (assignments): 153 * 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 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.03797/1.358, allocations: 15.36 MB / 0.8883 GB, free: 70.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01318/1.372, allocations: 5.61 MB / 0.8938 GB, free: 65.54 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.372, allocations: 0 / 0.8938 GB, free: 65.54 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01133/1.383, allocations: 4.297 MB / 0.898 GB, free: 61.68 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/1.385, allocations: 195.8 kB / 0.8982 GB, free: 61.51 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00798/1.393, allocations: 4.47 MB / 0.9025 GB, free: 57.55 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009537/1.394, allocations: 1.872 MB / 0.9044 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000895/1.395, allocations: 211.4 kB / 0.9046 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001188/1.396, allocations: 1.206 MB / 0.9057 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of SimCode: time 1.473e-06/1.396, allocations: 4 kB / 0.9057 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1003/1.496, allocations: 74.4 MB / 0.9784 GB, free: 1.363 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/1.497, allocations: 133.7 kB / 0.9785 GB, free: 1.176 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.495/5.992, allocations: 1.547 kB / 0.9785 GB, free: 1.176 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)