Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.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_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",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.008501/0.008501, allocations: 170.6 kB / 15.11 MB, free: 5.969 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.346/1.346, allocations: 223.2 MB / 239 MB, free: 80 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 94.61 kB / 290.2 MB, free: 4.504 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5485/0.5485, allocations: 79.44 MB / 420.8 MB, free: 36.36 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005554/0.0005554, allocations: 15.98 kB / 0.4891 GB, free: 6.273 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1726, allocations: 69.51 MB / 0.557 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4406/0.6133, allocations: 100.1 MB / 0.6548 GB, free: 1.035 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.6137, allocations: 83.95 kB / 0.6549 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1899/0.8036, allocations: 70.25 MB / 0.7235 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.665e-06/0.8036, allocations: 0 / 0.7235 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000327/0.804, allocations: 63.94 kB / 0.7236 GB, free: 10.48 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.01696/0.8209, allocations: 4.634 MB / 0.7281 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.821, allocations: 8.031 kB / 0.7281 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001316/0.8223, allocations: 303.2 kB / 0.7284 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01043/0.8328, allocations: 1.615 MB / 0.73 GB, free: 3.824 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005788/0.8386, allocations: 1.689 MB / 0.7316 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009344/0.8396, allocations: 0.7486 MB / 0.7323 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001135/0.8408, allocations: 207.9 kB / 0.7325 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00938/0.8502, allocations: 3.203 MB / 0.7357 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.199e-05/0.8503, allocations: 0 / 0.7357 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003079/0.8506, allocations: 80 kB / 0.7357 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.174e-05/0.8506, allocations: 48 kB / 0.7358 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00667/0.8573, allocations: 2.983 MB / 0.7387 GB, free: 10.6 MB / 0.5261 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 preOpt removeSimpleEquations (simulation): time 0.01999/0.8773, allocations: 9.9 MB / 0.7484 GB, free: 284 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01193/0.8893, allocations: 4.855 MB / 0.7531 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005409/0.8899, allocations: 45.88 kB / 0.7532 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005724/0.8956, allocations: 2.409 MB / 0.7555 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=247): time 6.081e-06/0.8957, allocations: 0 / 0.7555 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of matching and sorting (n=247): time 0.1224/1.018, allocations: 33.26 MB / 0.788 GB, free: 7.422 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/1.018, allocations: 192.2 kB / 0.7882 GB, free: 7.199 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004838/1.023, allocations: 1.924 MB / 0.7901 GB, free: 5.262 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009306/1.024, allocations: 65.7 kB / 0.7901 GB, free: 5.191 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001054/1.025, allocations: 1.208 MB / 0.7913 GB, free: 3.973 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001595/1.027, allocations: 0.8508 MB / 0.7921 GB, free: 3.109 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/1.027, allocations: 52 kB / 0.7922 GB, free: 3.059 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002177/1.027, allocations: 398.9 kB / 0.7926 GB, free: 2.664 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004036/1.031, allocations: 1.879 MB / 0.7944 GB, free: 0.7812 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3607/1.392, allocations: 2.183 MB / 0.7965 GB, free: 121.8 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005354/1.397, allocations: 2.095 MB / 0.7986 GB, free: 121.6 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-05/1.397, allocations: 6.812 kB / 0.7986 GB, free: 121.6 MB / 0.573 GB Notification: Performance of matching and sorting (n=314) (initialization): time 0.04509/1.442, allocations: 14.46 MB / 0.8127 GB, free: 121.3 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/1.443, allocations: 117.7 kB / 0.8128 GB, free: 121.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-05/1.443, allocations: 6.406 kB / 0.8128 GB, free: 121.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01944/1.462, allocations: 6.374 MB / 0.819 GB, free: 121 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002367/1.464, allocations: 414.8 kB / 0.8194 GB, free: 121 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06409/1.529, allocations: 26.5 MB / 0.8453 GB, free: 118.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004645/1.533, allocations: 0.5377 MB / 0.8458 GB, free: 118.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005048/1.534, allocations: 89.72 kB / 0.8459 GB, free: 118.6 MB / 0.573 GB Warning: Assuming fixed start value for the following 6 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 order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_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 (224): * Single equations (assignments): 219 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.001523/1.535, allocations: 0.4984 MB / 0.8464 GB, free: 118.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008127/1.536, allocations: 310.7 kB / 0.8467 GB, free: 118.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04164/1.578, allocations: 14.74 MB / 0.8611 GB, free: 116.2 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.085e-05/1.578, allocations: 28.33 kB / 0.8611 GB, free: 116.2 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.884e-05/1.578, allocations: 18.81 kB / 0.8611 GB, free: 116.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-05/1.578, allocations: 10.78 kB / 0.8612 GB, free: 116.2 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.04481/1.623, allocations: 18.27 MB / 0.879 GB, free: 111.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-05/1.623, allocations: 0.6875 kB / 0.879 GB, free: 111.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/1.625, allocations: 244 kB / 0.8792 GB, free: 111.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01743/1.642, allocations: 6.227 MB / 0.8853 GB, free: 110.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007846/1.643, allocations: 55.7 kB / 0.8854 GB, free: 110.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05475/1.698, allocations: 26.91 MB / 0.9116 GB, free: 87.7 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.698, allocations: 1.625 kB / 0.9116 GB, free: 87.7 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04363/1.741, allocations: 17.32 MB / 0.9286 GB, free: 73.68 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/1.743, allocations: 419.4 kB / 0.929 GB, free: 73.31 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006295/1.743, allocations: 44 kB / 0.929 GB, free: 73.27 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003035/1.746, allocations: 407.5 kB / 0.9294 GB, free: 72.96 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002165/1.749, allocations: 0.5793 MB / 0.93 GB, free: 72.65 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001953/1.749, allocations: 63.8 kB / 0.93 GB, free: 72.59 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002145/1.751, allocations: 1.496 MB / 0.9315 GB, free: 71.34 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.751, allocations: 0 / 0.9315 GB, free: 71.34 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003524/1.754, allocations: 1.117 MB / 0.9326 GB, free: 70.26 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * 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 {(64,8.0%) 24} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.04477/1.799, allocations: 18.09 MB / 0.9502 GB, free: 55.44 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01881/1.818, allocations: 7.026 MB / 0.9571 GB, free: 49.32 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/1.818, allocations: 0 / 0.9571 GB, free: 49.32 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01426/1.832, allocations: 5.054 MB / 0.962 GB, free: 44.35 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/1.836, allocations: 236.5 kB / 0.9623 GB, free: 44.12 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01651/1.852, allocations: 11.82 MB / 0.9738 GB, free: 32.04 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/1.854, allocations: 1.864 MB / 0.9756 GB, free: 30.14 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001127/1.855, allocations: 219.1 kB / 0.9758 GB, free: 29.93 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001303/1.856, allocations: 1.194 MB / 0.977 GB, free: 28.75 MB / 0.573 GB Notification: Performance of SimCode: time 1.964e-06/1.856, allocations: 0 / 0.977 GB, free: 28.75 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4151/2.271, allocations: 77.83 MB / 1.053 GB, free: 126.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/2.271, allocations: 225.5 kB / 1.053 GB, free: 126.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.072/7.344, allocations: 4 kB / 1.053 GB, free: 126.5 MB / 0.5886 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)