Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_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.0009247/0.0009248, allocations: 174.7 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.185/1.185, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008602/0.0008603, allocations: 92.58 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4211/0.4211, allocations: 78.91 MB / 415.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.161e-05/3.198e-05, allocations: 4 kB / 492.9 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.319, allocations: 69.5 MB / 0.5492 GB, free: 19.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.119/0.438, allocations: 98.44 MB / 0.6453 GB, free: 1.145 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.4383, allocations: 83.95 kB / 0.6454 GB, free: 1.062 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4314/0.8697, allocations: 61.55 MB / 0.7055 GB, free: 100 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.8698, allocations: 0 / 0.7055 GB, free: 100 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001427/0.8699, allocations: 48.66 kB / 0.7056 GB, free: 100 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: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.01105/0.881, allocations: 3.737 MB / 0.7092 GB, free: 97.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.8811, allocations: 13.44 kB / 0.7092 GB, free: 97.82 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000813/0.8819, allocations: 285.4 kB / 0.7095 GB, free: 97.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009708/0.8916, allocations: 1.572 MB / 0.711 GB, free: 96.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003171/0.8948, allocations: 1.449 MB / 0.7125 GB, free: 95.62 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004979/0.8953, allocations: 0.6864 MB / 0.7131 GB, free: 94.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004579/0.8958, allocations: 199.8 kB / 0.7133 GB, free: 94.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003685/0.8995, allocations: 2.407 MB / 0.7157 GB, free: 92.22 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.8995, allocations: 0 / 0.7157 GB, free: 92.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002219/0.8998, allocations: 80 kB / 0.7158 GB, free: 92.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/0.8998, allocations: 44 kB / 0.7158 GB, free: 92.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003331/0.9031, allocations: 2.171 MB / 0.7179 GB, free: 89.93 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.01605/0.9192, allocations: 9.597 MB / 0.7273 GB, free: 80 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008616/0.9278, allocations: 4.029 MB / 0.7312 GB, free: 75.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002362/0.9302, allocations: 1.436 MB / 0.7326 GB, free: 74.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00029/0.9305, allocations: 41.95 kB / 0.7327 GB, free: 74.37 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.9306, allocations: 52.56 kB / 0.7327 GB, free: 74.31 MB / 490.7 MB Notification: Performance of pre-optimization done (n=227): time 5.32e-06/0.9306, allocations: 0 / 0.7327 GB, free: 74.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=227): time 0.03414/0.9647, allocations: 12.06 MB / 0.7445 GB, free: 62.22 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.9648, allocations: 128.8 kB / 0.7446 GB, free: 62.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002275/0.9671, allocations: 1.636 MB / 0.7462 GB, free: 60.42 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006158/0.9678, allocations: 65.7 kB / 0.7463 GB, free: 60.35 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006083/0.9684, allocations: 1.113 MB / 0.7474 GB, free: 59.22 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007649/0.9692, allocations: 0.7893 MB / 0.7481 GB, free: 58.42 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.9693, allocations: 40 kB / 0.7482 GB, free: 58.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.853e-05/0.9694, allocations: 394.1 kB / 0.7485 GB, free: 57.99 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/0.9711, allocations: 1.149 MB / 0.7497 GB, free: 56.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/0.973, allocations: 1.451 MB / 0.7511 GB, free: 55.28 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/0.9748, allocations: 1.263 MB / 0.7523 GB, free: 54.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.9748, allocations: 0 / 0.7523 GB, free: 54.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.03761/1.012, allocations: 12.21 MB / 0.7642 GB, free: 41.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004872/1.013, allocations: 2.737 MB / 0.7669 GB, free: 38.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/1.013, allocations: 8 kB / 0.7669 GB, free: 38.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01517/1.028, allocations: 5.152 MB / 0.772 GB, free: 33.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/1.03, allocations: 323.5 kB / 0.7723 GB, free: 33.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03564/1.065, allocations: 17.94 MB / 0.7898 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003535/1.069, allocations: 489.8 kB / 0.7902 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003509/1.069, allocations: 79.98 kB / 0.7903 GB, free: 14.69 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/1.069, allocations: 4 kB / 0.7903 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03301/1.102, allocations: 11.94 MB / 0.802 GB, free: 2.734 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-05/1.103, allocations: 15.97 kB / 0.802 GB, free: 2.719 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01613/1.119, allocations: 5.175 MB / 0.8071 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/1.12, allocations: 303.6 kB / 0.8073 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04092/1.161, allocations: 17.93 MB / 0.8249 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003661/1.165, allocations: 458.1 kB / 0.8253 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002885/1.165, allocations: 83.97 kB / 0.8254 GB, free: 10.63 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 183 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.0005982/1.166, allocations: 221.7 kB / 0.8256 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005322/1.167, allocations: 272.6 kB / 0.8258 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03634/1.203, allocations: 12.39 MB / 0.8379 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.293e-05/1.203, allocations: 24 kB / 0.838 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.84e-05/1.203, allocations: 16 kB / 0.838 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.189e-05/1.203, allocations: 11.95 kB / 0.838 GB, free: 13.66 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.04151/1.245, allocations: 15.86 MB / 0.8535 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/1.245, allocations: 4 kB / 0.8535 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/1.246, allocations: 255.8 kB / 0.8537 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01481/1.261, allocations: 4.862 MB / 0.8585 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005891/1.262, allocations: 47.98 kB / 0.8585 GB, free: 8.465 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03333/1.295, allocations: 15.36 MB / 0.8735 GB, free: 8.957 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.295, allocations: 4 kB / 0.8735 GB, free: 8.953 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04026/1.335, allocations: 14.28 MB / 0.8875 GB, free: 10.61 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009382/1.336, allocations: 389 kB / 0.8878 GB, free: 10.21 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004203/1.337, allocations: 40 kB / 0.8879 GB, free: 10.17 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002682/1.339, allocations: 363.7 kB / 0.8882 GB, free: 9.816 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001833/1.341, allocations: 0.5369 MB / 0.8887 GB, free: 9.277 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001891/1.341, allocations: 59.98 kB / 0.8888 GB, free: 9.219 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001605/1.343, allocations: 1.246 MB / 0.89 GB, free: 7.957 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.8e-07/1.343, allocations: 0 / 0.89 GB, free: 7.957 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003859/1.347, allocations: 1.685 MB / 0.8917 GB, free: 6.27 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (146): * Single equations (assignments): 145 * 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 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3514/1.698, allocations: 15.15 MB / 0.9065 GB, free: 177 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02507/1.724, allocations: 9.331 MB / 0.9156 GB, free: 176.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/1.724, allocations: 9.156 kB / 0.9156 GB, free: 176.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0116/1.735, allocations: 3.9 MB / 0.9194 GB, free: 176 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/1.737, allocations: 187.8 kB / 0.9196 GB, free: 176 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008772/1.746, allocations: 4.316 MB / 0.9238 GB, free: 174.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/1.747, allocations: 1.785 MB / 0.9255 GB, free: 174 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00152/1.749, allocations: 355 kB / 0.9259 GB, free: 173.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/1.75, allocations: 1.074 MB / 0.9269 GB, free: 173.9 MB / 0.573 GB Notification: Performance of SimCode: time 1.744e-06/1.75, allocations: 0 / 0.9269 GB, free: 173.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1345/1.884, allocations: 96.05 MB / 1.021 GB, free: 90.7 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001547/1.885, allocations: 188.1 kB / 1.021 GB, free: 90.47 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.4/7.284, allocations: 5.641 kB / 1.021 GB, free: 90.47 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)