Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.FifthOrder_AVRIII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,fileNamePrefix="OpenIPSL_dev_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.008307/0.008307, allocations: 172 kB / 15.11 MB, free: 5.98 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.364/1.364, allocations: 223.2 MB / 239 MB, free: 100 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.00106/0.00106, allocations: 94.48 kB / 290.2 MB, free: 4.562 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4773/0.4773, allocations: 79.43 MB / 420.7 MB, free: 36.33 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000416/0.000416, allocations: 12 kB / 0.4891 GB, free: 6.273 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1526, allocations: 69.51 MB / 0.557 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4426/0.5952, allocations: 99.65 MB / 0.6543 GB, free: 1.539 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.5956, allocations: 84.86 kB / 0.6544 GB, free: 1.457 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1678/0.7634, allocations: 62.7 MB / 0.7156 GB, free: 2.629 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7635, allocations: 0 / 0.7156 GB, free: 2.629 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002907/0.7638, allocations: 48 kB / 0.7157 GB, free: 2.582 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.01519/0.779, allocations: 4.283 MB / 0.7199 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.779, allocations: 8.031 kB / 0.7199 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001366/0.7804, allocations: 278.4 kB / 0.7201 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/0.7909, allocations: 1.6 MB / 0.7217 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004618/0.7956, allocations: 1.487 MB / 0.7232 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000995/0.7966, allocations: 0.6865 MB / 0.7238 GB, free: 10 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001258/0.7979, allocations: 195.9 kB / 0.724 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008978/0.8069, allocations: 3.086 MB / 0.727 GB, free: 6.703 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-05/0.807, allocations: 1.312 kB / 0.727 GB, free: 6.703 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005827/0.8076, allocations: 76 kB / 0.7271 GB, free: 6.629 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.205e-05/0.8076, allocations: 51.95 kB / 0.7272 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0067/0.8144, allocations: 2.877 MB / 0.73 GB, free: 3.699 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.02106/0.8354, allocations: 9.674 MB / 0.7394 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/0.8473, allocations: 4.786 MB / 0.7441 GB, free: 4.691 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003153/0.8477, allocations: 37.97 kB / 0.7441 GB, free: 4.656 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.8477, allocations: 56.56 kB / 0.7442 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=229): time 5.942e-06/0.8477, allocations: 0 / 0.7442 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of matching and sorting (n=229): time 0.1039/0.9516, allocations: 28.72 MB / 0.7722 GB, free: 7.82 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.9518, allocations: 128.8 kB / 0.7723 GB, free: 7.668 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003962/0.9557, allocations: 1.688 MB / 0.774 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007099/0.9565, allocations: 61.7 kB / 0.774 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009561/0.9574, allocations: 1.129 MB / 0.7752 GB, free: 4.758 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001321/0.9588, allocations: 0.7823 MB / 0.7759 GB, free: 3.965 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004583/0.9593, allocations: 44 kB / 0.776 GB, free: 3.922 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002052/0.9595, allocations: 394.3 kB / 0.7763 GB, free: 3.531 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003999/0.9635, allocations: 1.8 MB / 0.7781 GB, free: 1.727 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004382/0.9679, allocations: 2.122 MB / 0.7802 GB, free: 15.5 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004251/0.9721, allocations: 1.921 MB / 0.782 GB, free: 13.57 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.431e-05/0.9722, allocations: 4 kB / 0.782 GB, free: 13.57 MB / 0.573 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.3091/1.281, allocations: 14.13 MB / 0.7958 GB, free: 119.5 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005797/1.282, allocations: 2.734 MB / 0.7985 GB, free: 116.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/1.282, allocations: 8.438 kB / 0.7985 GB, free: 116.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01938/1.301, allocations: 6.427 MB / 0.8048 GB, free: 116.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/1.303, allocations: 336 kB / 0.8051 GB, free: 116.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06087/1.364, allocations: 26.43 MB / 0.8309 GB, free: 115.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003558/1.368, allocations: 499.2 kB / 0.8314 GB, free: 115.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002317/1.368, allocations: 80.42 kB / 0.8315 GB, free: 115.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/1.368, allocations: 4.188 kB / 0.8315 GB, free: 115.1 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03912/1.407, allocations: 13.82 MB / 0.845 GB, free: 114.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.365e-05/1.407, allocations: 7.859 kB / 0.845 GB, free: 114.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01867/1.426, allocations: 6.429 MB / 0.8513 GB, free: 114.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/1.428, allocations: 321.5 kB / 0.8516 GB, free: 114.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05758/1.486, allocations: 26.44 MB / 0.8774 GB, free: 105.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003509/1.489, allocations: 474.6 kB / 0.8778 GB, free: 105.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002183/1.489, allocations: 71.52 kB / 0.8779 GB, free: 105.6 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.001308/1.491, allocations: 0.4928 MB / 0.8784 GB, free: 105.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005182/1.491, allocations: 277 kB / 0.8787 GB, free: 105.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03706/1.528, allocations: 14.3 MB / 0.8926 GB, free: 102.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.688e-05/1.528, allocations: 21.75 kB / 0.8926 GB, free: 102.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-05/1.528, allocations: 17.56 kB / 0.8927 GB, free: 102.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-05/1.528, allocations: 14.66 kB / 0.8927 GB, free: 102.4 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.04192/1.57, allocations: 17.82 MB / 0.9101 GB, free: 89.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/1.57, allocations: 0 / 0.9101 GB, free: 89.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/1.572, allocations: 248.8 kB / 0.9103 GB, free: 89.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01598/1.588, allocations: 6.022 MB / 0.9162 GB, free: 84.52 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005488/1.589, allocations: 47.7 kB / 0.9162 GB, free: 84.48 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04677/1.635, allocations: 22.67 MB / 0.9384 GB, free: 65.13 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.635, allocations: 5.219 kB / 0.9384 GB, free: 65.12 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04098/1.676, allocations: 16.84 MB / 0.9548 GB, free: 51.56 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/1.678, allocations: 385.5 kB / 0.9552 GB, free: 51.22 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004317/1.678, allocations: 44 kB / 0.9552 GB, free: 51.18 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002587/1.681, allocations: 361.1 kB / 0.9556 GB, free: 50.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001866/1.683, allocations: 0.5449 MB / 0.9561 GB, free: 50.61 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001799/1.683, allocations: 59.8 kB / 0.9562 GB, free: 50.55 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001601/1.684, allocations: 1.299 MB / 0.9574 GB, free: 49.45 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.3e-07/1.684, allocations: 0 / 0.9574 GB, free: 49.45 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004693/1.689, allocations: 1.712 MB / 0.9591 GB, free: 47.81 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.04147/1.731, allocations: 17.73 MB / 0.9764 GB, free: 30.79 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0277/1.758, allocations: 11.34 MB / 0.9875 GB, free: 19.46 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.758, allocations: 0 / 0.9875 GB, free: 19.46 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01178/1.77, allocations: 4.597 MB / 0.992 GB, free: 14.86 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/1.772, allocations: 192.4 kB / 0.9922 GB, free: 14.67 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/1.782, allocations: 11.62 MB / 1.004 GB, free: 2.77 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/1.784, allocations: 1.798 MB / 1.005 GB, free: 0.9414 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001028/1.785, allocations: 205.2 kB / 1.005 GB, free: 0.7422 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/1.786, allocations: 1.097 MB / 1.007 GB, free: 15.65 MB / 0.5886 GB Notification: Performance of SimCode: time 1.012e-06/1.786, allocations: 0 / 1.007 GB, free: 15.65 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4276/2.213, allocations: 91.86 MB / 1.096 GB, free: 130.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/2.214, allocations: 218.2 kB / 1.096 GB, free: 130.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.134/7.348, allocations: 3 kB / 1.096 GB, free: 130.2 MB / 0.5886 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe 2>&1)