Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.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_AVRIII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,fileNamePrefix="OpenIPSL_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 4.0.0+maint.om/package.mo): time 0.01023/0.01023, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.385/1.385, allocations: 223.2 MB / 239 MB, free: 72 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000965/0.000965, allocations: 99.5 kB / 290.2 MB, free: 4.559 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4628/0.4628, allocations: 78.52 MB / 419.8 MB, free: 36.36 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004074/0.0004076, allocations: 12 kB / 499.8 MB, free: 7.023 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1552, allocations: 69.36 MB / 0.5558 GB, free: 1.676 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.414/0.5692, allocations: 99.07 MB / 0.6526 GB, free: 3.102 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.5696, allocations: 84.14 kB / 0.6526 GB, free: 3.059 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1617/0.7313, allocations: 61.84 MB / 0.713 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7313, allocations: 4 kB / 0.713 GB, free: 5.477 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002698/0.7316, allocations: 48 kB / 0.7131 GB, free: 5.43 MB / 0.4948 GB 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.0151/0.7467, allocations: 4.28 MB / 0.7173 GB, free: 1.086 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.7468, allocations: 16.03 kB / 0.7173 GB, free: 1.07 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001112/0.7479, allocations: 286.4 kB / 0.7175 GB, free: 0.7812 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00996/0.7579, allocations: 1.588 MB / 0.7191 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004911/0.7628, allocations: 1.495 MB / 0.7206 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008898/0.7638, allocations: 0.6748 MB / 0.7212 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001094/0.7649, allocations: 195.9 kB / 0.7214 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00888/0.7738, allocations: 3.086 MB / 0.7244 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.761e-05/0.7739, allocations: 0 / 0.7244 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005932/0.7745, allocations: 76 kB / 0.7245 GB, free: 9.48 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.523e-05/0.7746, allocations: 53.83 kB / 0.7245 GB, free: 9.43 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006955/0.7815, allocations: 2.885 MB / 0.7274 GB, free: 6.543 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02317/0.8047, allocations: 9.666 MB / 0.7368 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01238/0.8172, allocations: 4.79 MB / 0.7415 GB, free: 7.543 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005139/0.8177, allocations: 37.97 kB / 0.7415 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.078e-05/0.8178, allocations: 56.56 kB / 0.7416 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=229): time 5.581e-06/0.8178, allocations: 0 / 0.7416 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of matching and sorting (n=229): time 0.1055/0.9233, allocations: 28.72 MB / 0.7696 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.9235, allocations: 128.8 kB / 0.7697 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003186/0.9267, allocations: 1.685 MB / 0.7714 GB, free: 8.82 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008075/0.9275, allocations: 69.7 kB / 0.7714 GB, free: 8.746 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009587/0.9285, allocations: 1.129 MB / 0.7725 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001288/0.9298, allocations: 0.7853 MB / 0.7733 GB, free: 6.809 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.93, allocations: 44 kB / 0.7734 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002121/0.9302, allocations: 386.3 kB / 0.7737 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003918/0.9341, allocations: 1.812 MB / 0.7755 GB, free: 4.566 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004463/0.9386, allocations: 2.111 MB / 0.7776 GB, free: 2.352 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004361/0.943, allocations: 1.929 MB / 0.7794 GB, free: 432 kB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.9431, allocations: 4 kB / 0.7794 GB, free: 428 kB / 0.5573 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.04419/0.9873, allocations: 14.13 MB / 0.7932 GB, free: 2.262 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.3059/1.293, allocations: 2.733 MB / 0.7959 GB, free: 121.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4e-05/1.293, allocations: 5.562 kB / 0.7959 GB, free: 121.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01984/1.313, allocations: 6.435 MB / 0.8022 GB, free: 121.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002/1.315, allocations: 332.6 kB / 0.8025 GB, free: 121.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06065/1.376, allocations: 26.44 MB / 0.8283 GB, free: 119.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003717/1.38, allocations: 0.4887 MB / 0.8288 GB, free: 119.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002139/1.38, allocations: 77.53 kB / 0.8289 GB, free: 119.8 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/1.38, allocations: 2.969 kB / 0.8289 GB, free: 119.8 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04021/1.42, allocations: 13.81 MB / 0.8424 GB, free: 119.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.123e-05/1.42, allocations: 8.328 kB / 0.8424 GB, free: 119.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01913/1.439, allocations: 6.432 MB / 0.8487 GB, free: 119 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/1.441, allocations: 323 kB / 0.849 GB, free: 119 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05942/1.501, allocations: 26.44 MB / 0.8748 GB, free: 110.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003929/1.505, allocations: 473.4 kB / 0.8752 GB, free: 110.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005719/1.505, allocations: 79.42 kB / 0.8753 GB, free: 110.3 MB / 0.573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 fixed = true ) "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 () * Number of clocked 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.001814/1.507, allocations: 489.5 kB / 0.8758 GB, free: 109.9 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009533/1.508, allocations: 274.3 kB / 0.8761 GB, free: 109.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04025/1.548, allocations: 14.31 MB / 0.89 GB, free: 106.6 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-05/1.548, allocations: 24 kB / 0.89 GB, free: 106.6 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.199e-05/1.549, allocations: 21.89 kB / 0.8901 GB, free: 106.6 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.437e-05/1.549, allocations: 10.03 kB / 0.8901 GB, free: 106.6 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04391/1.593, allocations: 17.82 MB / 0.9075 GB, free: 93 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-05/1.593, allocations: 0 / 0.9075 GB, free: 93 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/1.594, allocations: 250.4 kB / 0.9077 GB, free: 92.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0163/1.611, allocations: 6.024 MB / 0.9136 GB, free: 88.12 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006219/1.611, allocations: 46.81 kB / 0.9136 GB, free: 88.08 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04834/1.66, allocations: 22.67 MB / 0.9358 GB, free: 68.73 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.66, allocations: 0 / 0.9358 GB, free: 68.73 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04336/1.703, allocations: 16.84 MB / 0.9522 GB, free: 55.14 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/1.704, allocations: 382.1 kB / 0.9526 GB, free: 54.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007173/1.705, allocations: 40 kB / 0.9526 GB, free: 54.76 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002878/1.708, allocations: 368.4 kB / 0.953 GB, free: 54.48 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001905/1.71, allocations: 0.547 MB / 0.9535 GB, free: 54.18 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001913/1.71, allocations: 59.94 kB / 0.9536 GB, free: 54.12 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001725/1.712, allocations: 1.304 MB / 0.9548 GB, free: 53.02 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.31e-07/1.712, allocations: 0 / 0.9548 GB, free: 53.02 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005648/1.717, allocations: 1.7 MB / 0.9565 GB, free: 51.39 MB / 0.573 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 () * Number of clocked 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.04299/1.76, allocations: 17.72 MB / 0.9738 GB, free: 34.36 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02968/1.79, allocations: 11.35 MB / 0.9849 GB, free: 23.02 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/1.79, allocations: 4 kB / 0.9849 GB, free: 23.02 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01332/1.804, allocations: 4.591 MB / 0.9894 GB, free: 18.42 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/1.806, allocations: 189.1 kB / 0.9896 GB, free: 18.23 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/1.824, allocations: 11.63 MB / 1.001 GB, free: 6.32 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001765/1.825, allocations: 1.794 MB / 1.003 GB, free: 4.492 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001631/1.827, allocations: 215.6 kB / 1.003 GB, free: 4.289 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001532/1.829, allocations: 1.089 MB / 1.004 GB, free: 3.207 MB / 0.573 GB Notification: Performance of SimCode: time 1.042e-06/1.829, allocations: 0 / 1.004 GB, free: 3.207 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4164/2.245, allocations: 91.85 MB / 1.094 GB, free: 132.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001424/2.245, allocations: 205.7 kB / 1.094 GB, free: 132.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.116/7.361, allocations: 0 / 1.094 GB, free: 132.4 MB / 0.5886 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe 2>&1)