Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.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_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI",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.01109/0.01109, allocations: 170.6 kB / 15.11 MB, free: 6.027 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.407/1.407, allocations: 223.2 MB / 239 MB, free: 76 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.0008659/0.0008659, allocations: 93.42 kB / 290.2 MB, free: 4.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5379/0.5379, allocations: 78.51 MB / 419.8 MB, free: 36.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003591, allocations: 16 kB / 499.8 MB, free: 6.984 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1353, allocations: 69.36 MB / 0.5558 GB, free: 1.645 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4546/0.5899, allocations: 100.3 MB / 0.6538 GB, free: 1.934 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.5902, allocations: 86.56 kB / 0.6538 GB, free: 1.887 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.174/0.7642, allocations: 67.66 MB / 0.7199 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7643, allocations: 0 / 0.7199 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000182/0.7645, allocations: 59.94 kB / 0.72 GB, free: 14.34 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: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.0153/0.7798, allocations: 4.649 MB / 0.7245 GB, free: 9.602 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.7799, allocations: 8.031 kB / 0.7245 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001231/0.7811, allocations: 303.1 kB / 0.7248 GB, free: 9.289 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01031/0.7914, allocations: 1.611 MB / 0.7264 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004912/0.7964, allocations: 1.717 MB / 0.7281 GB, free: 5.891 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006992/0.7971, allocations: 0.6867 MB / 0.7287 GB, free: 5.102 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005672/0.7977, allocations: 211.8 kB / 0.7289 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006671/0.8044, allocations: 3.232 MB / 0.7321 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.893e-05/0.8044, allocations: 0 / 0.7321 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002689/0.8047, allocations: 88 kB / 0.7322 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.689e-05/0.8047, allocations: 52 kB / 0.7322 GB, free: 1.441 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006291/0.811, allocations: 3.022 MB / 0.7352 GB, free: 14.4 MB / 0.5261 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.01981/0.8309, allocations: 10.06 MB / 0.745 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01147/0.8424, allocations: 4.766 MB / 0.7497 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003565/0.8428, allocations: 38.03 kB / 0.7497 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.65e-05/0.8429, allocations: 70.09 kB / 0.7498 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=243): time 5.24e-06/0.8429, allocations: 0 / 0.7498 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of matching and sorting (n=243): time 0.1112/0.9541, allocations: 30.53 MB / 0.7796 GB, free: 292 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000165/0.9543, allocations: 243.6 kB / 0.7798 GB, free: 16 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003654/0.958, allocations: 1.94 MB / 0.7817 GB, free: 14.04 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007447/0.9587, allocations: 65.7 kB / 0.7818 GB, free: 13.97 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.9598, allocations: 1.216 MB / 0.7829 GB, free: 12.75 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001239/0.961, allocations: 0.8393 MB / 0.7838 GB, free: 11.89 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.9612, allocations: 44 kB / 0.7838 GB, free: 11.85 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002169/0.9614, allocations: 398.6 kB / 0.7842 GB, free: 11.46 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00402/0.9655, allocations: 1.875 MB / 0.786 GB, free: 9.578 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0042/0.9697, allocations: 2.194 MB / 0.7882 GB, free: 7.277 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004036/0.9737, allocations: 2.106 MB / 0.7902 GB, free: 5.113 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.9737, allocations: 4 kB / 0.7902 GB, free: 5.109 MB / 0.573 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.3493/1.323, allocations: 13.52 MB / 0.8034 GB, free: 121.7 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001161/1.324, allocations: 2.872 MB / 0.8062 GB, free: 118.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.441e-05/1.324, allocations: 8.266 kB / 0.8062 GB, free: 118.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0198/1.344, allocations: 5.952 MB / 0.8121 GB, free: 118.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004009/1.348, allocations: 0.6875 MB / 0.8127 GB, free: 118.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0564/1.405, allocations: 24.56 MB / 0.8367 GB, free: 116.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004292/1.409, allocations: 0.5307 MB / 0.8372 GB, free: 116.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005219/1.41, allocations: 79.91 kB / 0.8373 GB, free: 116.5 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/1.41, allocations: 3.281 kB / 0.8373 GB, free: 116.5 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0383/1.448, allocations: 13.21 MB / 0.8502 GB, free: 115.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.398e-05/1.448, allocations: 5.25 kB / 0.8502 GB, free: 115.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01801/1.466, allocations: 5.958 MB / 0.856 GB, free: 115.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003764/1.47, allocations: 0.6715 MB / 0.8567 GB, free: 115.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05275/1.523, allocations: 24.57 MB / 0.8807 GB, free: 108 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004106/1.527, allocations: 0.4969 MB / 0.8812 GB, free: 107.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003154/1.527, allocations: 86.45 kB / 0.8812 GB, free: 107.9 MB / 0.573 GB Warning: Assuming fixed start value for the following 7 variables: 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.e1q:VARIABLE(start = Syn2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (219): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {59 20} Notification: Performance of prepare postOptimizeDAE: time 0.0016/1.529, allocations: 0.5851 MB / 0.8818 GB, free: 107.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007041/1.529, allocations: 297.7 kB / 0.8821 GB, free: 107.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03843/1.568, allocations: 14.54 MB / 0.8963 GB, free: 101.5 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.583e-05/1.568, allocations: 24.5 kB / 0.8963 GB, free: 101.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.652e-05/1.568, allocations: 20 kB / 0.8963 GB, free: 101.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.94e-05/1.568, allocations: 14.34 kB / 0.8964 GB, free: 101.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.04475/1.613, allocations: 18.29 MB / 0.9142 GB, free: 87.47 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.684e-05/1.613, allocations: 1.125 kB / 0.9142 GB, free: 87.47 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002016/1.615, allocations: 277.2 kB / 0.9145 GB, free: 87.25 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01674/1.632, allocations: 6.009 MB / 0.9203 GB, free: 82.59 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008078/1.632, allocations: 55.47 kB / 0.9204 GB, free: 82.54 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04725/1.68, allocations: 22.7 MB / 0.9426 GB, free: 63.16 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/1.68, allocations: 3.125 kB / 0.9426 GB, free: 63.16 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04251/1.722, allocations: 17.12 MB / 0.9593 GB, free: 47.78 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/1.724, allocations: 421 kB / 0.9597 GB, free: 47.38 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008064/1.724, allocations: 56.19 kB / 0.9597 GB, free: 47.33 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002993/1.727, allocations: 399.6 kB / 0.9601 GB, free: 46.94 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001943/1.729, allocations: 0.5488 MB / 0.9607 GB, free: 46.39 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001934/1.73, allocations: 59.98 kB / 0.9607 GB, free: 46.34 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002251/1.732, allocations: 1.503 MB / 0.9622 GB, free: 44.83 MB / 0.573 GB Notification: Performance of sort global known variables: time 2e-07/1.732, allocations: 5.312 kB / 0.9622 GB, free: 44.82 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005464/1.737, allocations: 1.742 MB / 0.9639 GB, free: 43.15 MB / 0.573 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.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * 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 (164): * Single equations (assignments): 161 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(62,8.3%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04192/1.779, allocations: 17.89 MB / 0.9814 GB, free: 25.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02894/1.808, allocations: 11.93 MB / 0.993 GB, free: 13.12 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/1.808, allocations: 5.406 kB / 0.993 GB, free: 13.11 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0121/1.82, allocations: 4.759 MB / 0.9977 GB, free: 8.316 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/1.823, allocations: 237.2 kB / 0.9979 GB, free: 8.086 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/1.836, allocations: 12.07 MB / 1.01 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001596/1.837, allocations: 1.904 MB / 1.012 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001593/1.839, allocations: 274.9 kB / 1.012 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001634/1.841, allocations: 1.194 MB / 1.013 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of SimCode: time 1.182e-06/1.841, allocations: 4 kB / 1.013 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4688/2.31, allocations: 92.75 MB / 1.104 GB, free: 124.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/2.31, allocations: 210.6 kB / 1.104 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.403/7.713, allocations: 0 / 1.104 GB, free: 124.4 MB / 0.5886 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)