Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_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.001112/0.001112, allocations: 181.9 kB / 15.45 MB, free: 6.23 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.445/1.445, allocations: 223.3 MB / 239.5 MB, free: 15.71 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.0008619/0.0008619, allocations: 93.73 kB / 290.6 MB, free: 4.625 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4883/0.4883, allocations: 78.62 MB / 420.4 MB, free: 36.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004187/0.0004187, allocations: 12 kB / 0.4889 GB, free: 6.746 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1543, allocations: 69.36 MB / 0.5566 GB, free: 1.324 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01305/0.1674, allocations: 13.95 MB / 0.5702 GB, free: 3.316 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.3445/0.512, allocations: 3.616 MB / 0.5738 GB, free: 31.68 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003338/0.5154, allocations: 32.62 kB / 0.5738 GB, free: 31.68 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.5172, allocations: 438.2 kB / 0.5742 GB, free: 31.68 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005923/0.5231, allocations: 1.235 MB / 0.5754 GB, free: 31.67 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003653/0.5268, allocations: 1.426 MB / 0.5768 GB, free: 31.65 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.005851/0.5326, allocations: 3.598 MB / 0.5803 GB, free: 31.31 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.5341, allocations: 0.7987 MB / 0.5811 GB, free: 31.13 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002866/0.537, allocations: 1.355 MB / 0.5824 GB, free: 30.78 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003091/0.5401, allocations: 1.821 MB / 0.5842 GB, free: 30.34 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000897/0.541, allocations: 145 kB / 0.5843 GB, free: 30.34 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.5423, allocations: 280.8 kB / 0.5846 GB, free: 30.33 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000575/0.5429, allocations: 0.6255 MB / 0.5852 GB, free: 30.16 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001689/0.5446, allocations: 1.515 MB / 0.5867 GB, free: 29.55 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00492/0.5495, allocations: 3.776 MB / 0.5904 GB, free: 28.82 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.5496, allocations: 0 / 0.5904 GB, free: 28.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5496, allocations: 7.938 kB / 0.5904 GB, free: 28.81 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001728/0.5498, allocations: 0 / 0.5904 GB, free: 28.81 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02342/0.5732, allocations: 6.207 MB / 0.5965 GB, free: 27.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.5732, allocations: 17.42 kB / 0.5965 GB, free: 27.02 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001384/0.5746, allocations: 304.8 kB / 0.5968 GB, free: 26.97 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01515/0.5898, allocations: 2.301 MB / 0.599 GB, free: 26.74 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005322/0.5952, allocations: 1.91 MB / 0.6009 GB, free: 26.07 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006896/0.5959, allocations: 0.7565 MB / 0.6016 GB, free: 25.49 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008662/0.5968, allocations: 217.2 kB / 0.6018 GB, free: 25.49 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006291/0.6031, allocations: 3.255 MB / 0.605 GB, free: 24.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.219e-05/0.6032, allocations: 0 / 0.605 GB, free: 24.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002451/0.6034, allocations: 87.06 kB / 0.6051 GB, free: 24.71 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-05/0.6035, allocations: 48.69 kB / 0.6051 GB, free: 24.71 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005904/0.6094, allocations: 2.998 MB / 0.6081 GB, free: 23.74 MB / 442.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.01921/0.6286, allocations: 10.22 MB / 0.618 GB, free: 18.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01224/0.6409, allocations: 4.905 MB / 0.6228 GB, free: 16.53 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004896/0.6458, allocations: 2.184 MB / 0.625 GB, free: 15.72 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004055/0.6463, allocations: 47.53 kB / 0.625 GB, free: 15.71 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005696/0.652, allocations: 2.454 MB / 0.6274 GB, free: 14.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=250): time 4.529e-06/0.652, allocations: 0 / 0.6274 GB, free: 14.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.1234/0.7754, allocations: 35.57 MB / 0.6621 GB, free: 2.883 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.7756, allocations: 182.1 kB / 0.6623 GB, free: 2.668 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003919/0.7795, allocations: 2.337 MB / 0.6646 GB, free: 320 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007606/0.7803, allocations: 73.7 kB / 0.6647 GB, free: 240 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009664/0.7812, allocations: 1.18 MB / 0.6658 GB, free: 15.05 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001215/0.7825, allocations: 0.8755 MB / 0.6667 GB, free: 14.18 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004664/0.7829, allocations: 296.6 kB / 0.667 GB, free: 13.89 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.87e-05/0.7831, allocations: 309.1 kB / 0.6673 GB, free: 13.58 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004487/0.7875, allocations: 2.185 MB / 0.6694 GB, free: 11.39 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004811/0.7924, allocations: 2.553 MB / 0.6719 GB, free: 8.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05654/0.8489, allocations: 15.82 MB / 0.6873 GB, free: 8.711 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.94e-05/0.849, allocations: 4 kB / 0.6873 GB, free: 8.707 MB / 490.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04878/0.8978, allocations: 15.42 MB / 0.7024 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.8979, allocations: 122.8 kB / 0.7025 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/0.898, allocations: 8 kB / 0.7025 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02048/0.9185, allocations: 6.409 MB / 0.7088 GB, free: 2.656 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003512/0.922, allocations: 0.5812 MB / 0.7093 GB, free: 2.074 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0672/0.9892, allocations: 24.94 MB / 0.7337 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006742/0.996, allocations: 0.5948 MB / 0.7343 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001492/0.9976, allocations: 116 kB / 0.7344 GB, free: 8.301 MB / 0.5261 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.w:VARIABLE(flow=false 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 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 331 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.003792/1.001, allocations: 0.5352 MB / 0.7349 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001715/1.003, allocations: 300.3 kB / 0.7352 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04541/1.049, allocations: 14.8 MB / 0.7497 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.025e-05/1.049, allocations: 24 kB / 0.7497 GB, free: 8.527 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.391e-05/1.049, allocations: 23.94 kB / 0.7497 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.56e-05/1.049, allocations: 11.95 kB / 0.7497 GB, free: 8.492 MB / 0.5417 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.05474/1.104, allocations: 18.43 MB / 0.7677 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.637e-05/1.104, allocations: 1.5 kB / 0.7677 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001909/1.106, allocations: 251.6 kB / 0.7679 GB, free: 5.656 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01993/1.126, allocations: 6.269 MB / 0.7741 GB, free: 15.38 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000957/1.126, allocations: 51.98 kB / 0.7741 GB, free: 15.33 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3683/1.495, allocations: 25.53 MB / 0.7991 GB, free: 172 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.495, allocations: 2.578 kB / 0.7991 GB, free: 172 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04636/1.541, allocations: 17.38 MB / 0.816 GB, free: 171.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/1.542, allocations: 422.3 kB / 0.8164 GB, free: 171.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007778/1.543, allocations: 50.08 kB / 0.8165 GB, free: 171.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003129/1.546, allocations: 407.9 kB / 0.8169 GB, free: 171.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002058/1.548, allocations: 0.5636 MB / 0.8174 GB, free: 171.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000217/1.549, allocations: 68.48 kB / 0.8175 GB, free: 171.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002258/1.551, allocations: 1.544 MB / 0.819 GB, free: 170.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.062e-06/1.551, allocations: 0 / 0.819 GB, free: 170.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00406/1.555, allocations: 1.197 MB / 0.8202 GB, free: 170.4 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,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 (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.049/1.604, allocations: 18.02 MB / 0.8378 GB, free: 165.7 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01803/1.622, allocations: 7.573 MB / 0.8452 GB, free: 163.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.622, allocations: 4.062 kB / 0.8452 GB, free: 163.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01363/1.636, allocations: 5.107 MB / 0.8501 GB, free: 160.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003156/1.639, allocations: 274.5 kB / 0.8504 GB, free: 159.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1139/1.753, allocations: 53.56 MB / 0.9027 GB, free: 106.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/1.754, allocations: 1.815 MB / 0.9045 GB, free: 105 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001456/1.755, allocations: 264.5 kB / 0.9047 GB, free: 104.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001375/1.757, allocations: 1.233 MB / 0.9059 GB, free: 103.5 MB / 0.573 GB Notification: Performance of SimCode: time 6.52e-07/1.757, allocations: 0 / 0.9059 GB, free: 103.5 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1091/1.866, allocations: 82.25 MB / 0.9863 GB, free: 21.57 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/1.866, allocations: 242.8 kB / 0.9865 GB, free: 21.32 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.396/7.262, allocations: 0 / 0.9865 GB, free: 21.32 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)