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.01218/0.01218, allocations: 170.1 kB / 15.12 MB, free: 5.555 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.323/1.323, allocations: 223.2 MB / 239 MB, free: 1.793 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.0008992/0.0008992, allocations: 102.8 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6259/0.6259, allocations: 78.59 MB / 419.9 MB, free: 44.31 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003935, allocations: 12 kB / 499.8 MB, free: 2.883 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.357, allocations: 69.35 MB / 0.5559 GB, free: 39.03 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.00623/0.3633, allocations: 5.845 MB / 0.5616 GB, free: 37.86 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00443/0.3678, allocations: 2.001 MB / 0.5635 GB, free: 36.45 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.369, allocations: 11.97 kB / 0.5635 GB, free: 36.45 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007623/0.3697, allocations: 179 kB / 0.5637 GB, free: 36.36 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002536/0.3723, allocations: 0.7397 MB / 0.5644 GB, free: 35.88 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.3739, allocations: 0.5291 MB / 0.5649 GB, free: 35.62 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003549/0.3774, allocations: 1.033 MB / 0.5659 GB, free: 35.06 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007351/0.3782, allocations: 270.8 kB / 0.5662 GB, free: 34.94 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002122/0.3803, allocations: 0.6011 MB / 0.5668 GB, free: 34.67 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.3816, allocations: 0.7538 MB / 0.5675 GB, free: 34.35 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001781/0.3817, allocations: 64.72 kB / 0.5676 GB, free: 34.35 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005558/0.3823, allocations: 174.2 kB / 0.5678 GB, free: 34.32 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001956/0.3825, allocations: 269.2 kB / 0.568 GB, free: 34.17 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002289/0.3828, allocations: 237.3 kB / 0.5682 GB, free: 34.02 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.3838, allocations: 1.236 MB / 0.5694 GB, free: 33.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.3838, allocations: 0 / 0.5694 GB, free: 33.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3838, allocations: 0 / 0.5694 GB, free: 33.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.3839, allocations: 0 / 0.5694 GB, free: 33.66 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.008381/0.3923, allocations: 2.606 MB / 0.572 GB, free: 32.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3923, allocations: 9.094 kB / 0.572 GB, free: 32.52 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000332/0.3927, allocations: 127.2 kB / 0.5721 GB, free: 32.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004823/0.3975, allocations: 0.7902 MB / 0.5729 GB, free: 32.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/0.3994, allocations: 0.8858 MB / 0.5738 GB, free: 31.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000249/0.3996, allocations: 261.7 kB / 0.574 GB, free: 31.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.3998, allocations: 87.16 kB / 0.5741 GB, free: 31.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/0.4019, allocations: 1.16 MB / 0.5752 GB, free: 31.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.402, allocations: 0 / 0.5752 GB, free: 31.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-05/0.4021, allocations: 38.95 kB / 0.5753 GB, free: 30.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.566e-05/0.4021, allocations: 18.66 kB / 0.5753 GB, free: 30.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.4042, allocations: 1.063 MB / 0.5763 GB, free: 30.64 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.006736/0.411, allocations: 4.195 MB / 0.5804 GB, free: 28.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0074/0.4184, allocations: 2.948 MB / 0.5833 GB, free: 27.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001407/0.4186, allocations: 15.48 kB / 0.5833 GB, free: 27.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001589/0.4202, allocations: 0.8979 MB / 0.5842 GB, free: 26.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=98): time 3.637e-06/0.4202, allocations: 3.938 kB / 0.5842 GB, free: 26.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=98): time 0.02907/0.4493, allocations: 8.601 MB / 0.5926 GB, free: 25.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.4494, allocations: 114.8 kB / 0.5927 GB, free: 25.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.4513, allocations: 1.134 MB / 0.5938 GB, free: 24.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002993/0.4516, allocations: 46.73 kB / 0.5938 GB, free: 24.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003538/0.4519, allocations: 0.4921 MB / 0.5943 GB, free: 24.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000395/0.4523, allocations: 365.9 kB / 0.5947 GB, free: 24 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.4524, allocations: 30.41 kB / 0.5947 GB, free: 23.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.4526, allocations: 376.2 kB / 0.5951 GB, free: 23.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001818/0.4544, allocations: 0.8492 MB / 0.5959 GB, free: 23.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001903/0.4563, allocations: 1.023 MB / 0.5969 GB, free: 22.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.4582, allocations: 0.9818 MB / 0.5978 GB, free: 22.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.4582, allocations: 5.062 kB / 0.5979 GB, free: 22.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01626/0.4745, allocations: 5.308 MB / 0.603 GB, free: 21.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.905e-05/0.4746, allocations: 60.75 kB / 0.6031 GB, free: 21.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.4746, allocations: 2.875 kB / 0.6031 GB, free: 21.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007883/0.4825, allocations: 2.009 MB / 0.6051 GB, free: 20.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001756/0.4843, allocations: 298.1 kB / 0.6053 GB, free: 20.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.022/0.5063, allocations: 10.84 MB / 0.6159 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002428/0.5088, allocations: 234.6 kB / 0.6162 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/0.509, allocations: 67.97 kB / 0.6162 GB, free: 11.82 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 aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" 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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 167 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.000556/0.5096, allocations: 300.3 kB / 0.6165 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002334/0.5098, allocations: 134.4 kB / 0.6166 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01253/0.5223, allocations: 4.756 MB / 0.6213 GB, free: 6.602 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.5224, allocations: 12 kB / 0.6213 GB, free: 6.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.5224, allocations: 8 kB / 0.6213 GB, free: 6.582 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.676e-05/0.5224, allocations: 3.984 kB / 0.6213 GB, free: 6.578 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 postOpt removeSimpleEquations (simulation): time 0.01492/0.5374, allocations: 6.449 MB / 0.6276 GB, free: 4 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/0.5374, allocations: 0 / 0.6276 GB, free: 4 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008514/0.5383, allocations: 99.89 kB / 0.6277 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006179/0.5445, allocations: 1.887 MB / 0.6295 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002906/0.5448, allocations: 20 kB / 0.6296 GB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02237/0.5672, allocations: 10.12 MB / 0.6394 GB, free: 3.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.5673, allocations: 4.125 kB / 0.6394 GB, free: 3.586 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01682/0.5841, allocations: 5.719 MB / 0.645 GB, free: 13.83 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006076/0.5847, allocations: 239.2 kB / 0.6453 GB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002518/0.585, allocations: 16 kB / 0.6453 GB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.5864, allocations: 147.8 kB / 0.6454 GB, free: 13.41 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005636/0.5869, allocations: 200.7 kB / 0.6456 GB, free: 13.22 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.462e-05/0.587, allocations: 27.98 kB / 0.6456 GB, free: 13.19 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00123/0.5883, allocations: 0.7595 MB / 0.6464 GB, free: 12.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5883, allocations: 0 / 0.6464 GB, free: 12.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001919/0.5902, allocations: 491.6 kB / 0.6468 GB, free: 11.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01691/0.6071, allocations: 6.366 MB / 0.6531 GB, free: 5.527 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007972/0.6151, allocations: 2.99 MB / 0.656 GB, free: 2.492 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.6152, allocations: 0 / 0.656 GB, free: 2.492 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005142/0.6203, allocations: 1.832 MB / 0.6578 GB, free: 0.6211 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.6216, allocations: 108.5 kB / 0.6579 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007096/0.6287, allocations: 5.239 MB / 0.663 GB, free: 11.19 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009157/0.6297, allocations: 1.167 MB / 0.6641 GB, free: 9.988 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006864/0.6304, allocations: 120.3 kB / 0.6642 GB, free: 9.867 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000739/0.6311, allocations: 490.1 kB / 0.6647 GB, free: 9.391 MB / 474.7 MB Notification: Performance of SimCode: time 1.513e-06/0.6312, allocations: 0 / 0.6647 GB, free: 9.391 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06637/0.6975, allocations: 32.26 MB / 0.6962 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002653/0.6979, allocations: 229.3 kB / 0.6964 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.248/3.946, allocations: 2.531 kB / 0.6964 GB, free: 9.117 MB / 0.4948 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)