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.00485/0.00485, allocations: 171.8 kB / 15.11 MB, free: 5.973 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.299/1.299, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0008665/0.0008665, allocations: 86.88 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06507/0.06507, allocations: 12.2 MB / 330.1 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4116/0.4116, allocations: 78.53 MB / 459.6 MB, free: 3.992 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004704, allocations: 22.44 kB / 0.528 GB, free: 35.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1135, allocations: 69.24 MB / 0.5956 GB, free: 4.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3942/0.5077, allocations: 100.6 MB / 0.6939 GB, free: 35.12 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.5081, allocations: 81.92 kB / 0.694 GB, free: 35.12 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.137/0.645, allocations: 60.07 MB / 0.7526 GB, free: 23.65 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6451, allocations: 0 / 0.7526 GB, free: 23.65 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001185/0.6452, allocations: 54.84 kB / 0.7527 GB, free: 23.64 MB / 474.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.01154/0.6568, allocations: 4.291 MB / 0.7569 GB, free: 21.36 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.6568, allocations: 11.83 kB / 0.7569 GB, free: 21.35 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009725/0.6578, allocations: 280.9 kB / 0.7571 GB, free: 21.26 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008981/0.6668, allocations: 1.596 MB / 0.7587 GB, free: 20.68 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003606/0.6704, allocations: 1.489 MB / 0.7602 GB, free: 19.89 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004811/0.671, allocations: 0.6809 MB / 0.7608 GB, free: 19.35 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004279/0.6714, allocations: 192 kB / 0.761 GB, free: 19.35 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005261/0.6767, allocations: 3.082 MB / 0.764 GB, free: 18.59 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.587e-05/0.6767, allocations: 3.984 kB / 0.764 GB, free: 18.59 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002293/0.6769, allocations: 80.94 kB / 0.7641 GB, free: 18.59 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.468e-05/0.677, allocations: 43.81 kB / 0.7641 GB, free: 18.59 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00493/0.6819, allocations: 2.887 MB / 0.767 GB, free: 18.14 MB / 474.7 MB 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.0154/0.6973, allocations: 9.669 MB / 0.7764 GB, free: 13.28 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00992/0.7073, allocations: 4.783 MB / 0.7811 GB, free: 11.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002925/0.7076, allocations: 40.33 kB / 0.7811 GB, free: 11.79 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.7077, allocations: 57.19 kB / 0.7812 GB, free: 11.75 MB / 474.7 MB Notification: Performance of pre-optimization done (n=229): time 4.438e-06/0.7077, allocations: 7.906 kB / 0.7812 GB, free: 11.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=229): time 0.09905/0.8067, allocations: 28.7 MB / 0.8092 GB, free: 2.453 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.583e-05/0.8069, allocations: 128.8 kB / 0.8093 GB, free: 2.301 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00274/0.8096, allocations: 1.689 MB / 0.811 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006786/0.8103, allocations: 61.7 kB / 0.811 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008546/0.8112, allocations: 1.144 MB / 0.8121 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00116/0.8123, allocations: 0.7892 MB / 0.8129 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.8125, allocations: 40 kB / 0.813 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.8127, allocations: 390.3 kB / 0.8133 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004036/0.8167, allocations: 1.804 MB / 0.8151 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004357/0.8211, allocations: 2.107 MB / 0.8171 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004209/0.8254, allocations: 1.925 MB / 0.819 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.8254, allocations: 4 kB / 0.819 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.04291/0.8683, allocations: 14.14 MB / 0.8328 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001113/0.8695, allocations: 2.74 MB / 0.8355 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.8695, allocations: 8 kB / 0.8355 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01994/0.8894, allocations: 6.43 MB / 0.8418 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/0.8916, allocations: 335.5 kB / 0.8421 GB, free: 308 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06473/0.9563, allocations: 26.45 MB / 0.8679 GB, free: 5.707 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004142/0.9605, allocations: 497.7 kB / 0.8684 GB, free: 5.219 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003472/0.9609, allocations: 75.98 kB / 0.8685 GB, free: 5.145 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.9609, allocations: 4 kB / 0.8685 GB, free: 5.141 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04134/1.002, allocations: 13.81 MB / 0.882 GB, free: 7.309 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-05/1.002, allocations: 8 kB / 0.882 GB, free: 7.301 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02028/1.023, allocations: 6.43 MB / 0.8883 GB, free: 0.8633 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001981/1.025, allocations: 327.5 kB / 0.8886 GB, free: 0.543 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0639/1.089, allocations: 26.44 MB / 0.9144 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003998/1.093, allocations: 466 kB / 0.9149 GB, free: 5.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002974/1.093, allocations: 75.98 kB / 0.9149 GB, free: 5.426 MB / 0.5886 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.001441/1.094, allocations: 0.493 MB / 0.9154 GB, free: 4.93 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000654/1.095, allocations: 280.5 kB / 0.9157 GB, free: 4.652 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3017/1.397, allocations: 14.3 MB / 0.9296 GB, free: 168.9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.748e-05/1.397, allocations: 22.12 kB / 0.9297 GB, free: 168.9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.133e-05/1.397, allocations: 17.94 kB / 0.9297 GB, free: 168.9 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.517e-05/1.397, allocations: 11.59 kB / 0.9297 GB, free: 168.9 MB / 0.5886 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.04591/1.443, allocations: 17.82 MB / 0.9471 GB, free: 168 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.422e-05/1.443, allocations: 3.219 kB / 0.9471 GB, free: 168 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001665/1.445, allocations: 251.1 kB / 0.9473 GB, free: 168 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01591/1.461, allocations: 6.024 MB / 0.9532 GB, free: 167.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006134/1.461, allocations: 46.48 kB / 0.9533 GB, free: 167.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04667/1.508, allocations: 22.68 MB / 0.9754 GB, free: 164.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.508, allocations: 1.062 kB / 0.9754 GB, free: 164.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04082/1.549, allocations: 16.84 MB / 0.9918 GB, free: 150.8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/1.55, allocations: 389.3 kB / 0.9922 GB, free: 150.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005095/1.55, allocations: 40 kB / 0.9923 GB, free: 150.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002619/1.553, allocations: 363.9 kB / 0.9926 GB, free: 150.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001718/1.555, allocations: 0.5442 MB / 0.9931 GB, free: 149.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001868/1.555, allocations: 63.75 kB / 0.9932 GB, free: 149.8 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001553/1.556, allocations: 1.301 MB / 0.9945 GB, free: 148.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/1.556, allocations: 0 / 0.9945 GB, free: 148.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004059/1.561, allocations: 1.7 MB / 0.9961 GB, free: 147 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 () * 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.0402/1.601, allocations: 17.73 MB / 1.013 GB, free: 132.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02638/1.627, allocations: 11.34 MB / 1.025 GB, free: 123 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/1.627, allocations: 0 / 1.025 GB, free: 123 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01143/1.639, allocations: 4.593 MB / 1.029 GB, free: 119 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/1.64, allocations: 192.5 kB / 1.029 GB, free: 118.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00998/1.65, allocations: 11.64 MB / 1.041 GB, free: 106.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009658/1.651, allocations: 1.79 MB / 1.042 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0009963/1.652, allocations: 214 kB / 1.042 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/1.653, allocations: 1.097 MB / 1.044 GB, free: 103.8 MB / 0.5886 GB Notification: Performance of SimCode: time 5.81e-07/1.653, allocations: 0 / 1.044 GB, free: 103.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1175/1.771, allocations: 91.92 MB / 1.133 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/1.771, allocations: 220.6 kB / 1.134 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.947/6.718, allocations: 64 / 1.134 GB, free: 12.2 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)