Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_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.0008886/0.0008886, allocations: 180 kB / 15.45 MB, free: 6.234 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.364/1.364, allocations: 223.3 MB / 239.5 MB, free: 1.457 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009467/0.0009466, allocations: 95.53 kB / 290.6 MB, free: 13.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4799/0.4799, allocations: 78.61 MB / 420.4 MB, free: 44.05 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004191/0.0004193, allocations: 12.28 kB / 0.4889 GB, free: 2.453 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3936, allocations: 69.33 MB / 0.5566 GB, free: 39.29 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.006611/0.4002, allocations: 6.536 MB / 0.563 GB, free: 36.39 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00533/0.4056, allocations: 2.056 MB / 0.565 GB, free: 35.58 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001841/0.4075, allocations: 11.59 kB / 0.565 GB, free: 35.58 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.4086, allocations: 187.4 kB / 0.5652 GB, free: 35.51 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003201/0.4119, allocations: 0.7192 MB / 0.5659 GB, free: 35.2 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00174/0.4136, allocations: 0.6073 MB / 0.5665 GB, free: 35.09 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002795/0.4164, allocations: 1.576 MB / 0.568 GB, free: 34.34 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000567/0.417, allocations: 300.3 kB / 0.5683 GB, free: 34.19 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.418, allocations: 0.589 MB / 0.5689 GB, free: 33.93 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008562/0.4189, allocations: 0.7915 MB / 0.5696 GB, free: 33.58 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001661/0.4191, allocations: 62.78 kB / 0.5697 GB, free: 33.58 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007253/0.4198, allocations: 204 kB / 0.5699 GB, free: 33.53 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002645/0.4201, allocations: 281.3 kB / 0.5702 GB, free: 33.37 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005728/0.4207, allocations: 0.645 MB / 0.5708 GB, free: 32.94 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.4221, allocations: 1.622 MB / 0.5724 GB, free: 32.35 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.4221, allocations: 0 / 0.5724 GB, free: 32.35 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4221, allocations: 0 / 0.5724 GB, free: 32.35 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.199e-05/0.4222, allocations: 0 / 0.5724 GB, free: 32.35 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.008181/0.4304, allocations: 2.584 MB / 0.5749 GB, free: 31.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.4304, allocations: 11.22 kB / 0.5749 GB, free: 31.21 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003716/0.4308, allocations: 127 kB / 0.575 GB, free: 31.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00506/0.4359, allocations: 0.7854 MB / 0.5758 GB, free: 30.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/0.4387, allocations: 0.9268 MB / 0.5767 GB, free: 30.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003815/0.4392, allocations: 270.8 kB / 0.577 GB, free: 30.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002483/0.4394, allocations: 87.03 kB / 0.577 GB, free: 30.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002367/0.4418, allocations: 1.173 MB / 0.5782 GB, free: 29.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.4418, allocations: 0 / 0.5782 GB, free: 29.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.021e-05/0.4419, allocations: 37.88 kB / 0.5782 GB, free: 29.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.442, allocations: 20.16 kB / 0.5782 GB, free: 29.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/0.4439, allocations: 1.061 MB / 0.5793 GB, free: 29.29 MB / 426.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.006678/0.4506, allocations: 4.008 MB / 0.5832 GB, free: 27.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006987/0.4576, allocations: 2.952 MB / 0.5861 GB, free: 26.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/0.459, allocations: 0.7585 MB / 0.5868 GB, free: 25.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.4591, allocations: 14.3 kB / 0.5868 GB, free: 25.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00152/0.4607, allocations: 0.9024 MB / 0.5877 GB, free: 25.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=98): time 3.236e-06/0.4607, allocations: 0 / 0.5877 GB, free: 25.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=98): time 0.02896/0.4896, allocations: 8.638 MB / 0.5961 GB, free: 23.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.4898, allocations: 121.5 kB / 0.5963 GB, free: 23.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002074/0.4918, allocations: 1.142 MB / 0.5974 GB, free: 23.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003593/0.4922, allocations: 49.64 kB / 0.5974 GB, free: 23.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003927/0.4926, allocations: 0.4893 MB / 0.5979 GB, free: 22.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004464/0.4931, allocations: 372.7 kB / 0.5983 GB, free: 22.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/0.4933, allocations: 147.7 kB / 0.5984 GB, free: 22.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.087e-05/0.4934, allocations: 303.5 kB / 0.5987 GB, free: 22.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001949/0.4954, allocations: 0.8587 MB / 0.5995 GB, free: 21.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002086/0.4975, allocations: 1.037 MB / 0.6005 GB, free: 21.44 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02706/0.5245, allocations: 6.367 MB / 0.6068 GB, free: 19.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.938e-05/0.5246, allocations: 1.125 kB / 0.6068 GB, free: 19.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01564/0.5403, allocations: 5.346 MB / 0.612 GB, free: 16.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.959e-05/0.5404, allocations: 63.41 kB / 0.612 GB, free: 16.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.836e-05/0.5404, allocations: 3.984 kB / 0.612 GB, free: 16.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005873/0.5463, allocations: 1.951 MB / 0.6139 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/0.5479, allocations: 299.5 kB / 0.6142 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01759/0.5655, allocations: 8.939 MB / 0.623 GB, free: 5.574 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002223/0.5678, allocations: 246.5 kB / 0.6232 GB, free: 5.332 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002027/0.568, allocations: 59.97 kB / 0.6233 GB, free: 5.273 MB / 426.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006476/0.5687, allocations: 306.8 kB / 0.6235 GB, free: 4.961 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/0.5689, allocations: 126.4 kB / 0.6237 GB, free: 4.836 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01273/0.5817, allocations: 4.771 MB / 0.6283 GB, free: 40 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.366e-05/0.5818, allocations: 12 kB / 0.6283 GB, free: 28 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/0.5818, allocations: 8 kB / 0.6283 GB, free: 20 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.031e-05/0.5818, allocations: 3.984 kB / 0.6283 GB, free: 16 kB / 426.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 postOpt removeSimpleEquations (simulation): time 0.01653/0.5984, allocations: 6.399 MB / 0.6346 GB, free: 9.504 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.5984, allocations: 8.031 kB / 0.6346 GB, free: 9.496 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007768/0.5992, allocations: 103.8 kB / 0.6347 GB, free: 9.395 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005749/0.605, allocations: 1.872 MB / 0.6365 GB, free: 7.516 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002253/0.6052, allocations: 23.98 kB / 0.6366 GB, free: 7.492 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01967/0.6249, allocations: 9.691 MB / 0.646 GB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.625, allocations: 4 kB / 0.646 GB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01562/0.6406, allocations: 5.717 MB / 0.6516 GB, free: 7.766 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000616/0.6412, allocations: 235.2 kB / 0.6518 GB, free: 7.516 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002841/0.6415, allocations: 20 kB / 0.6518 GB, free: 7.496 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/0.6428, allocations: 143.9 kB / 0.652 GB, free: 7.355 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006307/0.6435, allocations: 192.7 kB / 0.6522 GB, free: 7.168 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.936e-05/0.6436, allocations: 28 kB / 0.6522 GB, free: 7.141 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001189/0.6448, allocations: 0.7713 MB / 0.6529 GB, free: 6.363 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6448, allocations: 0 / 0.6529 GB, free: 6.363 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001584/0.6464, allocations: 487.6 kB / 0.6534 GB, free: 5.887 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01576/0.6622, allocations: 6.308 MB / 0.6596 GB, free: 15.53 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007157/0.6694, allocations: 2.903 MB / 0.6624 GB, free: 12.59 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.6694, allocations: 0.75 kB / 0.6624 GB, free: 12.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004287/0.6737, allocations: 1.835 MB / 0.6642 GB, free: 10.71 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.6748, allocations: 114.9 kB / 0.6643 GB, free: 10.61 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04336/0.7182, allocations: 19.82 MB / 0.6837 GB, free: 6.336 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007003/0.719, allocations: 1.136 MB / 0.6848 GB, free: 5.168 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006803/0.7196, allocations: 128.3 kB / 0.6849 GB, free: 5.039 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007027/0.7204, allocations: 487.3 kB / 0.6854 GB, free: 4.562 MB / 490.7 MB Notification: Performance of SimCode: time 3.596e-06/0.7204, allocations: 0 / 0.6854 GB, free: 4.562 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06283/0.7832, allocations: 32.38 MB / 0.717 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.7835, allocations: 250.3 kB / 0.7172 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.338/4.122, allocations: 3.938 kB / 0.7172 GB, free: 4.156 MB / 0.5105 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)