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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_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.0009433/0.0009433, allocations: 168.8 kB / 12.72 MB, free: 2.586 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.189/1.189, allocations: 221.4 MB / 234.6 MB, free: 14.36 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.0008481/0.0008481, allocations: 99.7 kB / 285.6 MB, free: 12.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4333/0.4333, allocations: 78.9 MB / 415.4 MB, free: 10.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.144e-05/3.147e-05, allocations: 4 kB / 492.9 MB, free: 12.97 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3443, allocations: 69.51 MB / 0.5492 GB, free: 19.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.116/0.4604, allocations: 100.1 MB / 0.647 GB, free: 15.46 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.4607, allocations: 75.95 kB / 0.647 GB, free: 15.38 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4602/0.9209, allocations: 70.04 MB / 0.7154 GB, free: 92.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.921, allocations: 0 / 0.7154 GB, free: 92.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000141/0.9211, allocations: 52 kB / 0.7155 GB, free: 92.86 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.01092/0.932, allocations: 4.028 MB / 0.7194 GB, free: 88.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.9321, allocations: 11.97 kB / 0.7194 GB, free: 88.74 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008043/0.9329, allocations: 299.2 kB / 0.7197 GB, free: 88.44 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009641/0.9426, allocations: 1.611 MB / 0.7213 GB, free: 86.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003949/0.9466, allocations: 1.619 MB / 0.7229 GB, free: 85.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005978/0.9472, allocations: 0.7564 MB / 0.7236 GB, free: 84.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005974/0.9478, allocations: 207.9 kB / 0.7238 GB, free: 84.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004028/0.9519, allocations: 2.56 MB / 0.7263 GB, free: 81.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.384e-05/0.9519, allocations: 0 / 0.7263 GB, free: 81.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002365/0.9521, allocations: 84 kB / 0.7264 GB, free: 81.35 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.609e-05/0.9522, allocations: 48 kB / 0.7264 GB, free: 81.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003653/0.9558, allocations: 2.324 MB / 0.7287 GB, free: 78.96 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.0158/0.9716, allocations: 9.904 MB / 0.7384 GB, free: 68.63 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008335/0.98, allocations: 4.183 MB / 0.7425 GB, free: 64.31 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001934/0.982, allocations: 1.531 MB / 0.744 GB, free: 62.78 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002645/0.9822, allocations: 37.97 kB / 0.744 GB, free: 62.74 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002391/0.9846, allocations: 1.789 MB / 0.7457 GB, free: 60.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=247): time 4.118e-06/0.9847, allocations: 4 kB / 0.7457 GB, free: 60.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=247): time 0.03403/1.019, allocations: 12.55 MB / 0.758 GB, free: 48.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/1.019, allocations: 184.2 kB / 0.7582 GB, free: 48.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002486/1.021, allocations: 1.854 MB / 0.76 GB, free: 46.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006076/1.022, allocations: 69.7 kB / 0.76 GB, free: 46.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006231/1.023, allocations: 1.208 MB / 0.7612 GB, free: 44.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007679/1.023, allocations: 0.8509 MB / 0.7621 GB, free: 44.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/1.023, allocations: 48 kB / 0.7621 GB, free: 44.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/1.024, allocations: 399 kB / 0.7625 GB, free: 43.65 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001849/1.025, allocations: 1.255 MB / 0.7637 GB, free: 42.39 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/1.027, allocations: 1.563 MB / 0.7652 GB, free: 40.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00196/1.029, allocations: 1.477 MB / 0.7667 GB, free: 39.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/1.029, allocations: 0 / 0.7667 GB, free: 39.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.03307/1.062, allocations: 12.61 MB / 0.779 GB, free: 26.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.13e-05/1.063, allocations: 124.5 kB / 0.7791 GB, free: 26.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/1.063, allocations: 8 kB / 0.7791 GB, free: 26.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01473/1.077, allocations: 5.152 MB / 0.7841 GB, free: 21.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/1.079, allocations: 419.4 kB / 0.7845 GB, free: 20.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03471/1.114, allocations: 17.94 MB / 0.8021 GB, free: 2.676 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003948/1.118, allocations: 0.5406 MB / 0.8026 GB, free: 2.133 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003764/1.118, allocations: 91.97 kB / 0.8027 GB, free: 2.043 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.0005434/1.119, allocations: 297.4 kB / 0.803 GB, free: 1.734 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005527/1.12, allocations: 296.3 kB / 0.8033 GB, free: 1.441 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03645/1.156, allocations: 12.9 MB / 0.8158 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-05/1.156, allocations: 28 kB / 0.8159 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.101e-05/1.156, allocations: 23.94 kB / 0.8159 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.445e-05/1.156, allocations: 11.95 kB / 0.8159 GB, free: 4.43 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.04295/1.199, allocations: 16.42 MB / 0.8319 GB, free: 3.852 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/1.199, allocations: 0 / 0.8319 GB, free: 3.852 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001529/1.201, allocations: 243.7 kB / 0.8322 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01613/1.217, allocations: 5.012 MB / 0.8371 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006358/1.218, allocations: 55.92 kB / 0.8371 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03801/1.256, allocations: 19.32 MB / 0.856 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.256, allocations: 0 / 0.856 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04141/1.297, allocations: 14.85 MB / 0.8705 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/1.298, allocations: 409 kB / 0.8709 GB, free: 11.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001086/1.3, allocations: 48 kB / 0.8709 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003876/1.303, allocations: 411.6 kB / 0.8713 GB, free: 10.92 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002514/1.306, allocations: 0.5759 MB / 0.8719 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005087/1.307, allocations: 63.98 kB / 0.8719 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002399/1.309, allocations: 1.417 MB / 0.8733 GB, free: 8.855 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/1.309, allocations: 4 kB / 0.8733 GB, free: 8.852 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003878/1.313, allocations: 1.116 MB / 0.8744 GB, free: 7.734 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.04203/1.355, allocations: 15.62 MB / 0.8897 GB, free: 7.98 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01534/1.37, allocations: 5.728 MB / 0.8953 GB, free: 2.172 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.37, allocations: 8.25 kB / 0.8953 GB, free: 2.164 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.3151/1.685, allocations: 4.364 MB / 0.8995 GB, free: 176.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003065/1.689, allocations: 234 kB / 0.8998 GB, free: 176.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/1.7, allocations: 4.476 MB / 0.9041 GB, free: 175.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001863/1.702, allocations: 1.865 MB / 0.9059 GB, free: 174.7 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001229/1.703, allocations: 216.4 kB / 0.9062 GB, free: 174.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001597/1.704, allocations: 1.198 MB / 0.9073 GB, free: 174.6 MB / 0.573 GB Notification: Performance of SimCode: time 1.343e-06/1.704, allocations: 0.5 kB / 0.9073 GB, free: 174.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.104/1.808, allocations: 78.66 MB / 0.9841 GB, free: 123.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/1.809, allocations: 182.9 kB / 0.9843 GB, free: 123.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.799/6.607, allocations: 0 / 0.9843 GB, free: 123.2 MB / 0.573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)