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.001254/0.001254, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.211/1.211, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008727/0.0008727, allocations: 90.83 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4285/0.4285, allocations: 78.02 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.481e-05/3.482e-05, allocations: 7.938 kB / 491.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3098, allocations: 69.34 MB / 0.548 GB, free: 20.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1105/0.4203, allocations: 99.01 MB / 0.6447 GB, free: 1.391 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/0.4206, allocations: 79.95 kB / 0.6448 GB, free: 1.312 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4114/0.832, allocations: 61.64 MB / 0.705 GB, free: 100.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.832, allocations: 0 / 0.705 GB, free: 100.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001689/0.8322, allocations: 54.12 kB / 0.7051 GB, free: 100.3 MB / 490.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.011/0.8432, allocations: 3.759 MB / 0.7087 GB, free: 98.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.8433, allocations: 14.84 kB / 0.7088 GB, free: 98.29 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006584/0.8439, allocations: 284.8 kB / 0.709 GB, free: 98.06 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009246/0.8532, allocations: 1.577 MB / 0.7106 GB, free: 97.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003082/0.8563, allocations: 1.477 MB / 0.712 GB, free: 96.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000534/0.8568, allocations: 0.6903 MB / 0.7127 GB, free: 95.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006132/0.8574, allocations: 195.9 kB / 0.7129 GB, free: 95.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004406/0.8619, allocations: 2.43 MB / 0.7152 GB, free: 92.81 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.8619, allocations: 0 / 0.7152 GB, free: 92.81 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002383/0.8622, allocations: 76 kB / 0.7153 GB, free: 92.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.8622, allocations: 44 kB / 0.7154 GB, free: 92.69 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003458/0.8657, allocations: 2.186 MB / 0.7175 GB, free: 90.5 MB / 490.7 MB 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.01568/0.8813, allocations: 9.662 MB / 0.7269 GB, free: 80.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008448/0.8898, allocations: 4.053 MB / 0.7309 GB, free: 76.35 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002308/0.8922, allocations: 1.452 MB / 0.7323 GB, free: 74.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003813/0.8926, allocations: 38.75 kB / 0.7323 GB, free: 74.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.8926, allocations: 52.56 kB / 0.7324 GB, free: 74.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=229): time 3.767e-06/0.8926, allocations: 3.938 kB / 0.7324 GB, free: 74.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=229): time 0.03369/0.9263, allocations: 12.09 MB / 0.7442 GB, free: 62.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.684e-05/0.9265, allocations: 124.8 kB / 0.7443 GB, free: 62.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002738/0.9292, allocations: 1.668 MB / 0.7459 GB, free: 60.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006308/0.9298, allocations: 61.7 kB / 0.746 GB, free: 60.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006147/0.9305, allocations: 1.131 MB / 0.7471 GB, free: 59.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006544/0.9311, allocations: 0.787 MB / 0.7479 GB, free: 58.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.9313, allocations: 51.94 kB / 0.7479 GB, free: 58.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.468e-05/0.9314, allocations: 386.3 kB / 0.7483 GB, free: 58.44 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/0.9331, allocations: 1.157 MB / 0.7494 GB, free: 57.28 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/0.9349, allocations: 1.467 MB / 0.7509 GB, free: 55.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/0.9367, allocations: 1.281 MB / 0.7521 GB, free: 54.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.9367, allocations: 0 / 0.7521 GB, free: 54.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.03264/0.9693, allocations: 12.24 MB / 0.7641 GB, free: 42.17 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000425/0.9698, allocations: 2.742 MB / 0.7667 GB, free: 39.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.9698, allocations: 8 kB / 0.7667 GB, free: 39.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01481/0.9847, allocations: 5.212 MB / 0.7718 GB, free: 33.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.9864, allocations: 343.5 kB / 0.7722 GB, free: 33.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.034/1.02, allocations: 17.88 MB / 0.7896 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003336/1.024, allocations: 497.7 kB / 0.7901 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/1.024, allocations: 75.98 kB / 0.7902 GB, free: 15.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.817e-06/1.024, allocations: 4 kB / 0.7902 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03249/1.057, allocations: 11.98 MB / 0.8019 GB, free: 3.086 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.159e-05/1.057, allocations: 8 kB / 0.8019 GB, free: 3.078 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0155/1.072, allocations: 5.212 MB / 0.807 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/1.074, allocations: 323.5 kB / 0.8073 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04025/1.114, allocations: 17.89 MB / 0.8247 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003532/1.118, allocations: 466 kB / 0.8252 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002983/1.118, allocations: 79.98 kB / 0.8253 GB, free: 11 MB / 0.5105 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.0005961/1.119, allocations: 222.2 kB / 0.8255 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000586/1.119, allocations: 276.6 kB / 0.8257 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03587/1.155, allocations: 12.42 MB / 0.8379 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/1.155, allocations: 27.94 kB / 0.8379 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.501e-05/1.155, allocations: 16 kB / 0.8379 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.977e-05/1.155, allocations: 11.95 kB / 0.8379 GB, free: 14 MB / 0.5261 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.04201/1.197, allocations: 15.93 MB / 0.8535 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/1.198, allocations: 4 kB / 0.8535 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0016/1.199, allocations: 251.8 kB / 0.8537 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01469/1.214, allocations: 4.806 MB / 0.8584 GB, free: 8.891 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006935/1.215, allocations: 47.98 kB / 0.8585 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03367/1.248, allocations: 15.37 MB / 0.8735 GB, free: 9.336 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.248, allocations: 0 / 0.8735 GB, free: 9.336 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03957/1.288, allocations: 14.31 MB / 0.8874 GB, free: 10.96 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009641/1.289, allocations: 389.1 kB / 0.8878 GB, free: 10.55 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005168/1.289, allocations: 43.95 kB / 0.8879 GB, free: 10.51 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002738/1.292, allocations: 367.7 kB / 0.8882 GB, free: 10.15 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001861/1.294, allocations: 0.5447 MB / 0.8887 GB, free: 9.605 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002018/1.294, allocations: 56 kB / 0.8888 GB, free: 9.551 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0017/1.296, allocations: 1.27 MB / 0.89 GB, free: 8.266 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.41e-07/1.296, allocations: 0 / 0.89 GB, free: 8.266 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004388/1.3, allocations: 1.701 MB / 0.8917 GB, free: 6.562 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 () * 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.3501/1.65, allocations: 15.2 MB / 0.9065 GB, free: 177.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02605/1.677, allocations: 9.416 MB / 0.9157 GB, free: 176.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/1.677, allocations: 0 / 0.9157 GB, free: 176.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01179/1.688, allocations: 3.884 MB / 0.9195 GB, free: 176.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/1.691, allocations: 192.8 kB / 0.9197 GB, free: 176.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009904/1.701, allocations: 4.499 MB / 0.9241 GB, free: 174.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/1.702, allocations: 1.799 MB / 0.9259 GB, free: 174 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001529/1.703, allocations: 357 kB / 0.9262 GB, free: 174 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/1.704, allocations: 1.078 MB / 0.9273 GB, free: 174 MB / 0.573 GB Notification: Performance of SimCode: time 7.42e-07/1.704, allocations: 4 kB / 0.9273 GB, free: 174 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1155/1.82, allocations: 96.63 MB / 1.022 GB, free: 90.7 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001276/1.82, allocations: 184.8 kB / 1.022 GB, free: 90.47 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.039/6.859, allocations: 0 / 1.022 GB, free: 90.47 MB / 0.573 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)