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.004912/0.004912, allocations: 170.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.455/1.455, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.0008677/0.0008678, allocations: 94.88 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06945/0.06945, allocations: 12.2 MB / 330.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4516/0.4516, allocations: 78.52 MB / 459.6 MB, free: 3.984 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004846/0.0004846, allocations: 23.47 kB / 0.528 GB, free: 35.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1376, allocations: 69.24 MB / 0.5956 GB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4257/0.5634, allocations: 101.9 MB / 0.6951 GB, free: 35.88 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.5637, allocations: 79.17 kB / 0.6952 GB, free: 35.88 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1566/0.7203, allocations: 67.68 MB / 0.7613 GB, free: 20.2 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.7203, allocations: 0 / 0.7613 GB, free: 20.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001427/0.7205, allocations: 58.72 kB / 0.7614 GB, free: 20.19 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.0136/0.7341, allocations: 4.638 MB / 0.7659 GB, free: 17.63 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/0.7341, allocations: 15.69 kB / 0.7659 GB, free: 17.62 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001502/0.7356, allocations: 304.6 kB / 0.7662 GB, free: 17.53 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009896/0.7456, allocations: 1.616 MB / 0.7678 GB, free: 16.94 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004462/0.75, allocations: 1.712 MB / 0.7694 GB, free: 16.05 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005756/0.7507, allocations: 0.7372 MB / 0.7702 GB, free: 15.45 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005044/0.7512, allocations: 216.2 kB / 0.7704 GB, free: 15.44 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005501/0.7567, allocations: 3.196 MB / 0.7735 GB, free: 14.61 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/0.7567, allocations: 0 / 0.7735 GB, free: 14.61 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002415/0.757, allocations: 88.53 kB / 0.7736 GB, free: 14.61 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.143e-05/0.757, allocations: 58.44 kB / 0.7736 GB, free: 14.6 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005129/0.7622, allocations: 2.973 MB / 0.7765 GB, free: 14.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.01657/0.7787, allocations: 9.916 MB / 0.7862 GB, free: 9.164 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/0.7888, allocations: 4.856 MB / 0.791 GB, free: 5.152 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003012/0.7891, allocations: 45.95 kB / 0.791 GB, free: 5.109 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004043/0.7932, allocations: 2.421 MB / 0.7934 GB, free: 2.668 MB / 474.7 MB Notification: Performance of pre-optimization done (n=248): time 3.717e-06/0.7932, allocations: 0 / 0.7934 GB, free: 2.668 MB / 474.7 MB Notification: Performance of matching and sorting (n=248): time 0.1074/0.9006, allocations: 30.9 MB / 0.8235 GB, free: 3.656 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.9007, allocations: 180.2 kB / 0.8237 GB, free: 3.445 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003551/0.9043, allocations: 1.924 MB / 0.8256 GB, free: 1.508 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.000824/0.9051, allocations: 65.7 kB / 0.8256 GB, free: 1.438 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.001024/0.9062, allocations: 1.188 MB / 0.8268 GB, free: 244 kB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001364/0.9075, allocations: 0.851 MB / 0.8276 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.9077, allocations: 48 kB / 0.8277 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.9079, allocations: 406.8 kB / 0.8281 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003654/0.9115, allocations: 1.883 MB / 0.8299 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00389/0.9155, allocations: 2.187 MB / 0.832 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003953/0.9194, allocations: 2.096 MB / 0.8341 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.9194, allocations: 4 kB / 0.8341 GB, free: 8.598 MB / 0.5105 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.04256/0.962, allocations: 14.47 MB / 0.8482 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.9622, allocations: 114.8 kB / 0.8483 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/0.9622, allocations: 8 kB / 0.8483 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02021/0.9824, allocations: 6.437 MB / 0.8546 GB, free: 3.457 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00254/0.985, allocations: 419.4 kB / 0.855 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06319/1.048, allocations: 26.46 MB / 0.8809 GB, free: 8.445 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004386/1.053, allocations: 0.5406 MB / 0.8814 GB, free: 7.902 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004789/1.053, allocations: 91.91 kB / 0.8815 GB, free: 7.812 MB / 0.5574 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4_1.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: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked 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.001586/1.055, allocations: 0.5144 MB / 0.882 GB, free: 7.277 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009337/1.056, allocations: 300.3 kB / 0.8823 GB, free: 6.98 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04269/1.098, allocations: 14.75 MB / 0.8967 GB, free: 8.18 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-05/1.098, allocations: 28 kB / 0.8967 GB, free: 8.152 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.559e-05/1.099, allocations: 20 kB / 0.8967 GB, free: 8.133 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.861e-05/1.099, allocations: 11.95 kB / 0.8967 GB, free: 8.121 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.04855/1.147, allocations: 18.27 MB / 0.9146 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.908e-05/1.147, allocations: 4 kB / 0.9146 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001717/1.149, allocations: 247.7 kB / 0.9148 GB, free: 5.441 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2811/1.43, allocations: 6.196 MB / 0.9209 GB, free: 161.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007144/1.431, allocations: 51.55 kB / 0.9209 GB, free: 161.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05481/1.486, allocations: 26.88 MB / 0.9472 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.486, allocations: 3.938 kB / 0.9472 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04257/1.528, allocations: 17.33 MB / 0.9641 GB, free: 156.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/1.529, allocations: 419.3 kB / 0.9645 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005156/1.53, allocations: 46.45 kB / 0.9645 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002965/1.533, allocations: 407.4 kB / 0.9649 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002121/1.535, allocations: 0.5853 MB / 0.9655 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001954/1.535, allocations: 66.11 kB / 0.9656 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002149/1.537, allocations: 1.485 MB / 0.967 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/1.537, allocations: 0 / 0.967 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003212/1.541, allocations: 1.106 MB / 0.9681 GB, free: 155.8 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 () * Number of clocked 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.04295/1.584, allocations: 18.1 MB / 0.9858 GB, free: 149.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01787/1.602, allocations: 7.054 MB / 0.9927 GB, free: 142.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.602, allocations: 0 / 0.9927 GB, free: 142.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01341/1.615, allocations: 5.045 MB / 0.9976 GB, free: 138.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003043/1.618, allocations: 230.8 kB / 0.9978 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01257/1.631, allocations: 11.92 MB / 1.009 GB, free: 126.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/1.632, allocations: 1.862 MB / 1.011 GB, free: 125.4 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0009725/1.633, allocations: 213.8 kB / 1.011 GB, free: 125.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/1.634, allocations: 1.193 MB / 1.013 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of SimCode: time 1.292e-06/1.634, allocations: 0 / 1.013 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1125/1.747, allocations: 77.78 MB / 1.089 GB, free: 57.47 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/1.747, allocations: 224.1 kB / 1.089 GB, free: 57.23 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.658/6.405, allocations: 0 / 1.089 GB, free: 57.23 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)