Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_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.001351/0.001351, 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.35/1.35, allocations: 223.3 MB / 239.5 MB, free: 1.449 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.0007949/0.0007949, allocations: 96.94 kB / 290.7 MB, free: 13.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4935/0.4935, allocations: 78.62 MB / 420.4 MB, free: 44.14 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003956/0.0003957, allocations: 15.98 kB / 0.4889 GB, free: 2.438 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4012, allocations: 69.33 MB / 0.5566 GB, free: 39 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.00697/0.4083, allocations: 6.484 MB / 0.5629 GB, free: 36.14 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004565/0.4129, allocations: 2.024 MB / 0.5649 GB, free: 35.35 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009511/0.4139, allocations: 12.22 kB / 0.5649 GB, free: 35.35 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006381/0.4145, allocations: 187.4 kB / 0.5651 GB, free: 35.28 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00198/0.4165, allocations: 0.7192 MB / 0.5658 GB, free: 34.96 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.4179, allocations: 0.5889 MB / 0.5664 GB, free: 34.86 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001976/0.4199, allocations: 1.55 MB / 0.5679 GB, free: 34.14 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004183/0.4203, allocations: 296.3 kB / 0.5682 GB, free: 33.99 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007073/0.4211, allocations: 0.5835 MB / 0.5687 GB, free: 33.73 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006705/0.4217, allocations: 0.7755 MB / 0.5695 GB, free: 33.39 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.4219, allocations: 64.06 kB / 0.5695 GB, free: 33.39 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004529/0.4223, allocations: 196 kB / 0.5697 GB, free: 33.34 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000198/0.4225, allocations: 272.1 kB / 0.57 GB, free: 33.19 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004273/0.423, allocations: 0.6382 MB / 0.5706 GB, free: 32.76 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.424, allocations: 1.599 MB / 0.5722 GB, free: 32.17 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4241, allocations: 0 / 0.5722 GB, free: 32.17 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4241, allocations: 3.938 kB / 0.5722 GB, free: 32.17 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.713e-05/0.4241, allocations: 0 / 0.5722 GB, free: 32.17 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.007382/0.4315, allocations: 2.556 MB / 0.5747 GB, free: 31.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.4315, allocations: 8.719 kB / 0.5747 GB, free: 31.03 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001804/0.4317, allocations: 128.4 kB / 0.5748 GB, free: 30.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004457/0.4362, allocations: 0.7834 MB / 0.5756 GB, free: 30.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.4375, allocations: 0.9147 MB / 0.5765 GB, free: 30.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002265/0.4378, allocations: 268.4 kB / 0.5767 GB, free: 29.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.4379, allocations: 86.48 kB / 0.5768 GB, free: 29.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/0.4398, allocations: 1.16 MB / 0.5779 GB, free: 29.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.4399, allocations: 3.938 kB / 0.5779 GB, free: 29.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-05/0.4399, allocations: 29.72 kB / 0.578 GB, free: 29.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.44, allocations: 20.31 kB / 0.578 GB, free: 29.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.4418, allocations: 1.065 MB / 0.579 GB, free: 29.12 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.00582/0.4476, allocations: 3.968 MB / 0.5829 GB, free: 26.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006971/0.4546, allocations: 2.928 MB / 0.5858 GB, free: 25.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.456, allocations: 0.7549 MB / 0.5865 GB, free: 25.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.4562, allocations: 19.12 kB / 0.5865 GB, free: 25.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001435/0.4576, allocations: 0.8873 MB / 0.5874 GB, free: 25.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=97): time 3.086e-06/0.4576, allocations: 0 / 0.5874 GB, free: 25.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.02911/0.4867, allocations: 8.832 MB / 0.596 GB, free: 23.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.165e-05/0.4869, allocations: 113.1 kB / 0.5961 GB, free: 23.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/0.489, allocations: 1.124 MB / 0.5972 GB, free: 23.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002525/0.4892, allocations: 46.38 kB / 0.5973 GB, free: 23.13 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003533/0.4896, allocations: 0.4915 MB / 0.5977 GB, free: 22.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003959/0.49, allocations: 364.7 kB / 0.5981 GB, free: 22.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.4902, allocations: 149.3 kB / 0.5982 GB, free: 22.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.849e-05/0.4903, allocations: 312 kB / 0.5985 GB, free: 22.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001968/0.4923, allocations: 0.8389 MB / 0.5993 GB, free: 21.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001845/0.4941, allocations: 1.014 MB / 0.6003 GB, free: 21.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02529/0.5194, allocations: 6.234 MB / 0.6064 GB, free: 19.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/0.5195, allocations: 1.281 kB / 0.6064 GB, free: 19.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01531/0.5348, allocations: 5.294 MB / 0.6116 GB, free: 17.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.152e-05/0.5349, allocations: 59.41 kB / 0.6117 GB, free: 17.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.5349, allocations: 4 kB / 0.6117 GB, free: 17.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00575/0.5407, allocations: 1.92 MB / 0.6135 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.5422, allocations: 287.6 kB / 0.6138 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01819/0.5604, allocations: 8.931 MB / 0.6225 GB, free: 6.012 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/0.5624, allocations: 242.6 kB / 0.6228 GB, free: 5.773 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002493/0.5627, allocations: 59.98 kB / 0.6228 GB, free: 5.715 MB / 426.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis 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 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 164 * 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.0007967/0.5635, allocations: 305.1 kB / 0.6231 GB, free: 5.402 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003193/0.5639, allocations: 126.4 kB / 0.6232 GB, free: 5.277 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/0.5763, allocations: 4.749 MB / 0.6279 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/0.5763, allocations: 8 kB / 0.6279 GB, free: 500 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-05/0.5763, allocations: 11.98 kB / 0.6279 GB, free: 488 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.811e-05/0.5764, allocations: 15.86 kB / 0.6279 GB, free: 472 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.01655/0.5929, allocations: 6.362 MB / 0.6341 GB, free: 9.992 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.259e-05/0.593, allocations: 0 / 0.6341 GB, free: 9.992 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009349/0.594, allocations: 99.89 kB / 0.6342 GB, free: 9.895 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006057/0.6001, allocations: 1.879 MB / 0.636 GB, free: 8.008 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000227/0.6003, allocations: 23.94 kB / 0.6361 GB, free: 7.984 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01989/0.6202, allocations: 9.708 MB / 0.6455 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6203, allocations: 64 / 0.6455 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01545/0.6357, allocations: 5.686 MB / 0.6511 GB, free: 8.273 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004982/0.6363, allocations: 231.2 kB / 0.6513 GB, free: 8.027 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004102/0.6367, allocations: 27.98 kB / 0.6513 GB, free: 8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/0.6382, allocations: 139.9 kB / 0.6515 GB, free: 7.863 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006696/0.6388, allocations: 196.6 kB / 0.6517 GB, free: 7.668 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/0.639, allocations: 31.98 kB / 0.6517 GB, free: 7.637 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001237/0.6403, allocations: 0.7553 MB / 0.6524 GB, free: 6.875 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6403, allocations: 0 / 0.6524 GB, free: 6.875 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00169/0.642, allocations: 491.5 kB / 0.6529 GB, free: 6.395 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0156/0.6576, allocations: 6.277 MB / 0.659 GB, free: 72 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007159/0.6648, allocations: 2.872 MB / 0.6618 GB, free: 13.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.6648, allocations: 0 / 0.6618 GB, free: 13.16 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004506/0.6693, allocations: 1.795 MB / 0.6636 GB, free: 11.33 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.6708, allocations: 118 kB / 0.6637 GB, free: 11.21 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04472/0.7155, allocations: 19.54 MB / 0.6828 GB, free: 7.227 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007603/0.7163, allocations: 1.128 MB / 0.6839 GB, free: 6.066 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006744/0.717, allocations: 120.1 kB / 0.684 GB, free: 5.945 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007669/0.7178, allocations: 475.3 kB / 0.6845 GB, free: 5.48 MB / 490.7 MB Notification: Performance of SimCode: time 6.11e-07/0.7178, allocations: 0 / 0.6845 GB, free: 5.48 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05669/0.7745, allocations: 31.95 MB / 0.7157 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/0.7747, allocations: 247.8 kB / 0.7159 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.222/3.997, allocations: 3.375 kB / 0.7159 GB, free: 5.508 MB / 0.5105 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)