Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.2 MB / 218.5 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008418/0.0008418, allocations: 88.86 kB / 266.6 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07446/0.07446, allocations: 12.2 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2805/0.2805, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.094e-05/4.108e-05, allocations: 4 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1146, allocations: 69.24 MB / 0.5889 GB, free: 2.934 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4022/0.5169, allocations: 100.5 MB / 0.6871 GB, free: 15.82 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.5172, allocations: 70.91 kB / 0.6872 GB, free: 15.78 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1529/0.6701, allocations: 59.87 MB / 0.7456 GB, free: 13.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6702, allocations: 0 / 0.7456 GB, free: 13.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000136/0.6703, allocations: 59.25 kB / 0.7457 GB, free: 13.14 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: 488 * Number of variables: 488 Notification: Performance of Generate backend data structure: time 0.01117/0.6815, allocations: 3.772 MB / 0.7494 GB, free: 9.613 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.6816, allocations: 11.98 kB / 0.7494 GB, free: 9.602 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005383/0.6821, allocations: 282.6 kB / 0.7496 GB, free: 9.449 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009488/0.6916, allocations: 1.577 MB / 0.7512 GB, free: 7.996 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003008/0.6947, allocations: 1.486 MB / 0.7526 GB, free: 6.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006167/0.6953, allocations: 0.6759 MB / 0.7533 GB, free: 6.117 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004961/0.6958, allocations: 198 kB / 0.7535 GB, free: 5.988 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004466/0.7003, allocations: 2.427 MB / 0.7559 GB, free: 3.785 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.369e-05/0.7003, allocations: 0 / 0.7559 GB, free: 3.785 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002464/0.7006, allocations: 76 kB / 0.7559 GB, free: 3.711 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.659e-05/0.7006, allocations: 48 kB / 0.756 GB, free: 3.664 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004314/0.705, allocations: 2.19 MB / 0.7581 GB, free: 1.473 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.01857/0.7236, allocations: 9.67 MB / 0.7676 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009517/0.7331, allocations: 4.053 MB / 0.7715 GB, free: 3.207 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002588/0.7357, allocations: 1.44 MB / 0.7729 GB, free: 1.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000314/0.7361, allocations: 33.97 kB / 0.773 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.7361, allocations: 64.56 kB / 0.773 GB, free: 1.664 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=229): time 4.789e-06/0.7361, allocations: 0 / 0.773 GB, free: 1.664 MB / 0.4948 GB Notification: Performance of matching and sorting (n=229): time 0.03758/0.7737, allocations: 12.08 MB / 0.7848 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.582e-05/0.7738, allocations: 132.8 kB / 0.7849 GB, free: 5.398 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002784/0.7766, allocations: 1.66 MB / 0.7866 GB, free: 3.719 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006322/0.7773, allocations: 65.7 kB / 0.7866 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008464/0.7781, allocations: 1.129 MB / 0.7877 GB, free: 2.508 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001118/0.7793, allocations: 0.793 MB / 0.7885 GB, free: 1.703 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.7795, allocations: 44 kB / 0.7885 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.7796, allocations: 390.3 kB / 0.7889 GB, free: 1.273 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002124/0.7818, allocations: 1.157 MB / 0.79 GB, free: 116 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002281/0.7841, allocations: 1.471 MB / 0.7915 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002165/0.7862, allocations: 1.281 MB / 0.7927 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.7863, allocations: 0 / 0.7927 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.03785/0.8241, allocations: 12.25 MB / 0.8047 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009501/0.8251, allocations: 2.736 MB / 0.8074 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.8251, allocations: 7.953 kB / 0.8074 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01716/0.8423, allocations: 5.215 MB / 0.8125 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001974/0.8443, allocations: 335.5 kB / 0.8128 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04138/0.8857, allocations: 17.88 MB / 0.8302 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003815/0.8896, allocations: 497.7 kB / 0.8307 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004333/0.89, allocations: 75.98 kB / 0.8308 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.8901, allocations: 4 kB / 0.8308 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0362/0.9263, allocations: 11.97 MB / 0.8425 GB, free: 9.887 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.418e-05/0.9264, allocations: 8 kB / 0.8425 GB, free: 9.879 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01687/0.9432, allocations: 5.215 MB / 0.8476 GB, free: 4.66 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/0.9451, allocations: 327.4 kB / 0.8479 GB, free: 4.34 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04083/0.986, allocations: 17.89 MB / 0.8654 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003724/0.9897, allocations: 466 kB / 0.8658 GB, free: 1.84 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003472/0.9901, allocations: 79.98 kB / 0.8659 GB, free: 1.762 MB / 0.5886 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (188): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0007165/0.9908, allocations: 230.1 kB / 0.8661 GB, free: 1.531 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006701/0.9915, allocations: 276.6 kB / 0.8664 GB, free: 1.258 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3084/1.3, allocations: 12.41 MB / 0.8785 GB, free: 164.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.79e-05/1.3, allocations: 21.88 kB / 0.8785 GB, free: 164.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.447e-05/1.3, allocations: 17.72 kB / 0.8785 GB, free: 164.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.854e-05/1.3, allocations: 12.12 kB / 0.8785 GB, free: 164.3 MB / 0.5886 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.04429/1.344, allocations: 15.94 MB / 0.8941 GB, free: 163.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/1.345, allocations: 0 / 0.8941 GB, free: 163.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/1.346, allocations: 256.2 kB / 0.8943 GB, free: 163.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01366/1.36, allocations: 4.806 MB / 0.899 GB, free: 163.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005085/1.36, allocations: 50.14 kB / 0.8991 GB, free: 163.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0313/1.392, allocations: 15.37 MB / 0.9141 GB, free: 161.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.392, allocations: 0 / 0.9141 GB, free: 161.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03709/1.429, allocations: 14.31 MB / 0.9281 GB, free: 157.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008692/1.43, allocations: 380.8 kB / 0.9284 GB, free: 157.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004609/1.43, allocations: 41.59 kB / 0.9285 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002655/1.433, allocations: 363.6 kB / 0.9288 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001756/1.435, allocations: 0.5442 MB / 0.9294 GB, free: 157 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001892/1.435, allocations: 54.22 kB / 0.9294 GB, free: 157 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001609/1.436, allocations: 1.286 MB / 0.9307 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.1e-07/1.436, allocations: 0 / 0.9307 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004095/1.44, allocations: 1.707 MB / 0.9323 GB, free: 154.7 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0371/1.478, allocations: 15.2 MB / 0.9472 GB, free: 142.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02416/1.502, allocations: 9.418 MB / 0.9564 GB, free: 133.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.502, allocations: 0 / 0.9564 GB, free: 133.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01095/1.513, allocations: 3.89 MB / 0.9602 GB, free: 130.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/1.515, allocations: 194.2 kB / 0.9604 GB, free: 130.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008792/1.524, allocations: 4.503 MB / 0.9647 GB, free: 126.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009011/1.525, allocations: 1.799 MB / 0.9665 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001496/1.526, allocations: 360.8 kB / 0.9668 GB, free: 124.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/1.527, allocations: 1.078 MB / 0.9679 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of SimCode: time 9.22e-07/1.527, allocations: 0 / 0.9679 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1217/1.649, allocations: 96.69 MB / 1.062 GB, free: 32.41 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001247/1.649, allocations: 193.8 kB / 1.063 GB, free: 32.18 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.361/7.009, allocations: 0 / 1.063 GB, free: 32.18 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe 2>&1)