Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.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.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII",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.001507/0.001511, allocations: 174.8 kB / 12.73 MB, free: 2.59 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.458/1.458, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0008598/0.0008599, allocations: 81.03 kB / 266.6 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0768/0.0768, allocations: 12.2 MB / 326.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2829/0.2829, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.592e-05/5.595e-05, allocations: 7.984 kB / 0.5213 GB, free: 24.13 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1466, allocations: 69.23 MB / 0.5889 GB, free: 2.953 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4402/0.5869, allocations: 101.8 MB / 0.6883 GB, free: 14.55 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.5872, allocations: 76.95 kB / 0.6884 GB, free: 14.51 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1706/0.7578, allocations: 67.48 MB / 0.7543 GB, free: 5.605 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.7578, allocations: 0 / 0.7543 GB, free: 5.605 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001672/0.758, allocations: 63.88 kB / 0.7544 GB, free: 5.543 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.01267/0.7707, allocations: 4.025 MB / 0.7583 GB, free: 1.434 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.233e-05/0.7707, allocations: 15.97 kB / 0.7583 GB, free: 1.418 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008673/0.7716, allocations: 303.3 kB / 0.7586 GB, free: 1.109 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009834/0.7814, allocations: 1.6 MB / 0.7602 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004634/0.7861, allocations: 1.65 MB / 0.7618 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008459/0.787, allocations: 0.7447 MB / 0.7625 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000709/0.7877, allocations: 208 kB / 0.7627 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005083/0.7928, allocations: 2.56 MB / 0.7652 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/0.7929, allocations: 0 / 0.7652 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002604/0.7931, allocations: 87.98 kB / 0.7653 GB, free: 10 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.739e-05/0.7932, allocations: 48 kB / 0.7653 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004349/0.7975, allocations: 2.324 MB / 0.7676 GB, free: 7.617 MB / 0.4948 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.01974/0.8173, allocations: 9.919 MB / 0.7773 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01018/0.8275, allocations: 4.187 MB / 0.7814 GB, free: 8.949 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003111/0.8307, allocations: 1.527 MB / 0.7829 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000288/0.831, allocations: 45.95 kB / 0.7829 GB, free: 7.371 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003225/0.8342, allocations: 1.799 MB / 0.7847 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=248): time 4.529e-06/0.8342, allocations: 0 / 0.7847 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of matching and sorting (n=248): time 0.03817/0.8724, allocations: 12.55 MB / 0.7969 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.8726, allocations: 180.2 kB / 0.7971 GB, free: 8.746 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004098/0.8767, allocations: 1.85 MB / 0.7989 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007557/0.8775, allocations: 65.7 kB / 0.799 GB, free: 6.809 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001141/0.8786, allocations: 1.192 MB / 0.8001 GB, free: 5.605 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001455/0.8801, allocations: 0.8547 MB / 0.801 GB, free: 4.738 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005886/0.8807, allocations: 52 kB / 0.801 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002551/0.881, allocations: 402.9 kB / 0.8014 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002761/0.8837, allocations: 1.251 MB / 0.8026 GB, free: 3.035 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002937/0.8867, allocations: 1.567 MB / 0.8042 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002718/0.8894, allocations: 1.488 MB / 0.8056 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.383e-06/0.8894, allocations: 0 / 0.8056 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.0374/0.9269, allocations: 12.62 MB / 0.8179 GB, free: 3.121 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.927, allocations: 114.8 kB / 0.818 GB, free: 2.984 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.927, allocations: 8 kB / 0.8181 GB, free: 2.977 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01682/0.9439, allocations: 5.219 MB / 0.8231 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002462/0.9464, allocations: 423.4 kB / 0.8236 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04356/0.99, allocations: 17.9 MB / 0.841 GB, free: 11.28 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004472/0.9945, allocations: 0.5406 MB / 0.8416 GB, free: 10.74 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006446/0.9951, allocations: 83.98 kB / 0.8416 GB, free: 10.66 MB / 0.573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.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: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (226): * Single equations (assignments): 221 * Array equations: 0 * Algorithm blocks: 4 * 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.001158/0.9963, allocations: 301.4 kB / 0.8419 GB, free: 10.34 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001061/0.9974, allocations: 300.3 kB / 0.8422 GB, free: 10.05 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03841/1.036, allocations: 12.9 MB / 0.8548 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.402e-05/1.036, allocations: 24 kB / 0.8548 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.605e-05/1.036, allocations: 16 kB / 0.8549 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001171/1.036, allocations: 19.94 kB / 0.8549 GB, free: 13.04 MB / 0.5886 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.3271/1.363, allocations: 16.43 MB / 0.8709 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.059e-05/1.363, allocations: 1.156 kB / 0.8709 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/1.365, allocations: 248.2 kB / 0.8712 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01449/1.379, allocations: 4.98 MB / 0.876 GB, free: 153.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006411/1.38, allocations: 51.97 kB / 0.8761 GB, free: 153.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03723/1.417, allocations: 19.3 MB / 0.8949 GB, free: 149.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.417, allocations: 3.906 kB / 0.8949 GB, free: 149.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03637/1.454, allocations: 14.86 MB / 0.9094 GB, free: 148.9 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009574/1.455, allocations: 413.6 kB / 0.9098 GB, free: 148.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004211/1.455, allocations: 45.86 kB / 0.9099 GB, free: 148.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002789/1.458, allocations: 407.9 kB / 0.9103 GB, free: 148.7 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00209/1.46, allocations: 0.5806 MB / 0.9108 GB, free: 148.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002053/1.46, allocations: 66.34 kB / 0.9109 GB, free: 148.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001707/1.462, allocations: 1.408 MB / 0.9123 GB, free: 148.4 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/1.462, allocations: 0 / 0.9123 GB, free: 148.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002609/1.465, allocations: 1.109 MB / 0.9133 GB, free: 148.3 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 152 * 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: 3 * 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: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.03561/1.5, allocations: 15.64 MB / 0.9286 GB, free: 144.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01268/1.513, allocations: 5.745 MB / 0.9342 GB, free: 142 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.513, allocations: 0 / 0.9342 GB, free: 142 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01074/1.524, allocations: 4.367 MB / 0.9385 GB, free: 140.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002037/1.526, allocations: 225.9 kB / 0.9387 GB, free: 140.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007534/1.533, allocations: 4.567 MB / 0.9432 GB, free: 138.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009857/1.534, allocations: 1.864 MB / 0.945 GB, free: 136.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0008097/1.535, allocations: 209.7 kB / 0.9452 GB, free: 136.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001184/1.536, allocations: 1.196 MB / 0.9464 GB, free: 135.4 MB / 0.5886 GB Notification: Performance of SimCode: time 5.71e-07/1.536, allocations: 0 / 0.9464 GB, free: 135.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09612/1.633, allocations: 78.62 MB / 1.023 GB, free: 72.04 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001368/1.633, allocations: 193.7 kB / 1.023 GB, free: 71.81 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.61/6.242, allocations: 0 / 1.023 GB, free: 71.81 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)