Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,fileNamePrefix="OpenIPSL_release_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.001009/0.001009, allocations: 172 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 221.5 MB / 229.6 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008735/0.0008735, allocations: 93.84 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4601/0.4601, allocations: 78.12 MB / 409.4 MB, free: 6.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.966e-05/1.969e-05, allocations: 7.938 kB / 485.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1346, allocations: 69.35 MB / 0.5414 GB, free: 6.852 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3803/0.5149, allocations: 98.33 MB / 0.6374 GB, free: 1.277 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001847/0.5151, allocations: 80.56 kB / 0.6375 GB, free: 1.199 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2314/0.7465, allocations: 60.82 MB / 0.6969 GB, free: 4.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7465, allocations: 0 / 0.6969 GB, free: 4.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001254/0.7467, allocations: 51.94 kB / 0.697 GB, free: 4.199 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.01083/0.7575, allocations: 3.773 MB / 0.7007 GB, free: 380 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.7575, allocations: 8.031 kB / 0.7007 GB, free: 372 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009443/0.767, allocations: 1.576 MB / 0.7022 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002649/0.7697, allocations: 1.468 MB / 0.7036 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005595/0.7702, allocations: 0.6106 MB / 0.7042 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003069/0.7706, allocations: 121.5 kB / 0.7043 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003534/0.7741, allocations: 2.089 MB / 0.7064 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003606/0.7777, allocations: 2.149 MB / 0.7085 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/0.7777, allocations: 0 / 0.7085 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002001/0.778, allocations: 0 / 0.7085 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/0.778, allocations: 51.95 kB / 0.7085 GB, free: 8.113 MB / 0.5105 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 preOpt removeSimpleEquations (simulation): time 0.01575/0.7938, allocations: 9.354 MB / 0.7177 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009091/0.8029, allocations: 3.966 MB / 0.7215 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00201/0.8049, allocations: 1.383 MB / 0.7229 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000258/0.8052, allocations: 49.95 kB / 0.7229 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.8052, allocations: 60.52 kB / 0.723 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=229): time 4.318e-06/0.8052, allocations: 0 / 0.723 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of matching and sorting (n=229): time 0.03644/0.8417, allocations: 11.92 MB / 0.7346 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.8418, allocations: 128.8 kB / 0.7348 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002808/0.8446, allocations: 1.515 MB / 0.7362 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006718/0.8453, allocations: 25.7 kB / 0.7363 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008316/0.8462, allocations: 1.136 MB / 0.7374 GB, free: 9.969 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008883/0.8471, allocations: 0.7633 MB / 0.7381 GB, free: 9.195 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.8472, allocations: 4 kB / 0.7381 GB, free: 9.191 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.8474, allocations: 382.3 kB / 0.7385 GB, free: 8.812 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/0.8492, allocations: 1.121 MB / 0.7396 GB, free: 7.688 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001968/0.8512, allocations: 1.412 MB / 0.741 GB, free: 6.176 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001929/0.8532, allocations: 1.235 MB / 0.7422 GB, free: 4.941 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.8532, allocations: 0 / 0.7422 GB, free: 4.941 MB / 0.5417 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.03755/0.8907, allocations: 12.04 MB / 0.7539 GB, free: 8.879 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009746/0.8917, allocations: 2.733 MB / 0.7566 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.8918, allocations: 8 kB / 0.7566 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0165/0.9083, allocations: 4.965 MB / 0.7615 GB, free: 0.9414 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00198/0.9103, allocations: 343.5 kB / 0.7618 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3438/1.254, allocations: 17.53 MB / 0.7789 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003618/1.258, allocations: 445.7 kB / 0.7793 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000232/1.258, allocations: 75.89 kB / 0.7794 GB, free: 114 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/1.258, allocations: 4.25 kB / 0.7794 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03567/1.294, allocations: 11.72 MB / 0.7909 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.21e-05/1.294, allocations: 6.719 kB / 0.7909 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01653/1.31, allocations: 4.97 MB / 0.7957 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/1.312, allocations: 324.7 kB / 0.796 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03866/1.351, allocations: 17.55 MB / 0.8132 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003436/1.354, allocations: 419.5 kB / 0.8136 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002235/1.355, allocations: 78.66 kB / 0.8136 GB, free: 109.5 MB / 0.5573 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.0006244/1.355, allocations: 149.8 kB / 0.8138 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03457/1.39, allocations: 11.93 MB / 0.8254 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00139/1.391, allocations: 281.6 kB / 0.8257 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03319/1.424, allocations: 12.19 MB / 0.8376 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.432e-05/1.424, allocations: 24.31 kB / 0.8376 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.04e-05/1.425, allocations: 22.84 kB / 0.8376 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.331e-05/1.425, allocations: 7.688 kB / 0.8376 GB, free: 104.7 MB / 0.5573 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.0376/1.462, allocations: 15.52 MB / 0.8528 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.65e-05/1.462, allocations: 3.969 kB / 0.8528 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001606/1.464, allocations: 249.7 kB / 0.853 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01361/1.477, allocations: 4.766 MB / 0.8577 GB, free: 98.18 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004509/1.478, allocations: 8 kB / 0.8577 GB, free: 98.17 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03119/1.509, allocations: 15.17 MB / 0.8725 GB, free: 84.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/1.509, allocations: 7.375 kB / 0.8725 GB, free: 84.69 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03815/1.547, allocations: 14.11 MB / 0.8863 GB, free: 73.16 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/1.548, allocations: 378.4 kB / 0.8867 GB, free: 72.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005148/1.549, allocations: 7.797 kB / 0.8867 GB, free: 72.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002826/1.552, allocations: 335.5 kB / 0.887 GB, free: 72.57 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001597/1.553, allocations: 0.5452 MB / 0.8875 GB, free: 72.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001711/1.554, allocations: 55.89 kB / 0.8876 GB, free: 72.22 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001299/1.555, allocations: 1.135 MB / 0.8887 GB, free: 71.17 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.555, allocations: 0 / 0.8887 GB, free: 71.17 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004077/1.559, allocations: 1.553 MB / 0.8902 GB, free: 69.68 MB / 0.5573 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.03779/1.597, allocations: 14.97 MB / 0.9048 GB, free: 57.28 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02575/1.623, allocations: 9.13 MB / 0.9137 GB, free: 49.14 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/1.623, allocations: 0 / 0.9137 GB, free: 49.14 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01088/1.634, allocations: 3.789 MB / 0.9174 GB, free: 45.82 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/1.635, allocations: 154.1 kB / 0.9176 GB, free: 45.67 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008519/1.644, allocations: 4.328 MB / 0.9218 GB, free: 41.85 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/1.645, allocations: 1.796 MB / 0.9236 GB, free: 40.43 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001548/1.646, allocations: 355.3 kB / 0.9239 GB, free: 40.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/1.647, allocations: 1.072 MB / 0.925 GB, free: 39.22 MB / 0.5573 GB Notification: Performance of SimCode: time 6.41e-07/1.647, allocations: 0 / 0.925 GB, free: 39.22 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4225/2.07, allocations: 90.43 MB / 1.013 GB, free: 124.9 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/2.07, allocations: 154.5 kB / 1.013 GB, free: 124.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.274/7.344, allocations: 0 / 1.013 GB, free: 124.7 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRIII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe 2>&1)