Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008887/0.0008886, allocations: 97.72 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.169/1.169, allocations: 223.3 MB / 239.4 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008782/0.0008782, allocations: 180.5 kB / 290.6 MB, free: 2.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4165/0.4165, allocations: 78.55 MB / 420.3 MB, free: 4.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003693, allocations: 11.98 kB / 0.4888 GB, free: 5.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1142, allocations: 69.35 MB / 0.5565 GB, free: 476 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.2205/0.3347, allocations: 6.486 MB / 0.5628 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002563/0.3373, allocations: 2.015 MB / 0.5648 GB, free: 35.17 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003268/0.3376, allocations: 12 kB / 0.5648 GB, free: 35.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004574/0.3381, allocations: 188.1 kB / 0.565 GB, free: 35.1 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.3394, allocations: 0.7168 MB / 0.5657 GB, free: 34.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008557/0.3402, allocations: 0.5956 MB / 0.5663 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009118/0.3412, allocations: 1.548 MB / 0.5678 GB, free: 34.35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003187/0.3415, allocations: 292.7 kB / 0.568 GB, free: 34.3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000431/0.3419, allocations: 0.5856 MB / 0.5686 GB, free: 34.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005826/0.3425, allocations: 0.7713 MB / 0.5694 GB, free: 33.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.3426, allocations: 64.92 kB / 0.5694 GB, free: 33.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003147/0.343, allocations: 194.5 kB / 0.5696 GB, free: 33.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.3432, allocations: 270.1 kB / 0.5699 GB, free: 33.81 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003545/0.3435, allocations: 0.6407 MB / 0.5705 GB, free: 33.53 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008661/0.3444, allocations: 1.593 MB / 0.5721 GB, free: 33.15 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3444, allocations: 4.812 kB / 0.5721 GB, free: 33.15 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3444, allocations: 0 / 0.5721 GB, free: 33.15 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.3444, allocations: 0 / 0.5721 GB, free: 33.15 MB / 430.1 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.007295/0.3517, allocations: 2.565 MB / 0.5746 GB, free: 32.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.3518, allocations: 12.38 kB / 0.5746 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001507/0.3519, allocations: 124.2 kB / 0.5747 GB, free: 32.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004486/0.3564, allocations: 0.7891 MB / 0.5755 GB, free: 32.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.3575, allocations: 0.9113 MB / 0.5764 GB, free: 31.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/0.3578, allocations: 268.9 kB / 0.5766 GB, free: 31.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.3579, allocations: 87.02 kB / 0.5767 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.3598, allocations: 1.165 MB / 0.5778 GB, free: 31.35 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.3598, allocations: 0 / 0.5778 GB, free: 31.35 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-05/0.3599, allocations: 30.06 kB / 0.5779 GB, free: 31.35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.3599, allocations: 17.53 kB / 0.5779 GB, free: 31.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/0.3618, allocations: 1.06 MB / 0.5789 GB, free: 31.33 MB / 430.1 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.005248/0.367, allocations: 3.969 MB / 0.5828 GB, free: 29.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007292/0.3744, allocations: 2.922 MB / 0.5856 GB, free: 28.74 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.3757, allocations: 0.7489 MB / 0.5864 GB, free: 28.46 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.335e-05/0.3758, allocations: 22.83 kB / 0.5864 GB, free: 28.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001479/0.3772, allocations: 0.8892 MB / 0.5873 GB, free: 28.13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.836e-06/0.3773, allocations: 0.6094 kB / 0.5873 GB, free: 28.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.03001/0.4073, allocations: 8.829 MB / 0.5959 GB, free: 26.53 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.4074, allocations: 114.4 kB / 0.596 GB, free: 26.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.4089, allocations: 1.129 MB / 0.5971 GB, free: 25.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.4091, allocations: 45.73 kB / 0.5971 GB, free: 25.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.4094, allocations: 0.4923 MB / 0.5976 GB, free: 25.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002991/0.4097, allocations: 362.2 kB / 0.598 GB, free: 25.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.4099, allocations: 147.3 kB / 0.5981 GB, free: 25.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.503e-05/0.4099, allocations: 303.1 kB / 0.5984 GB, free: 24.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/0.4116, allocations: 0.843 MB / 0.5992 GB, free: 24.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/0.4133, allocations: 1.023 MB / 0.6002 GB, free: 24.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0245/0.4378, allocations: 6.237 MB / 0.6063 GB, free: 22.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/0.4379, allocations: 1.125 kB / 0.6063 GB, free: 22.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01478/0.4526, allocations: 5.29 MB / 0.6115 GB, free: 20.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/0.4527, allocations: 63 kB / 0.6115 GB, free: 20.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.4527, allocations: 2.844 kB / 0.6115 GB, free: 20.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005693/0.4584, allocations: 1.917 MB / 0.6134 GB, free: 19.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.4596, allocations: 288.3 kB / 0.6137 GB, free: 18.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01751/0.4772, allocations: 8.944 MB / 0.6224 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.479, allocations: 242.6 kB / 0.6227 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/0.4791, allocations: 57.28 kB / 0.6227 GB, free: 9.387 MB / 430.1 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.0005747/0.4797, allocations: 308.4 kB / 0.623 GB, free: 9.074 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002643/0.48, allocations: 126.4 kB / 0.6231 GB, free: 8.949 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01234/0.4923, allocations: 4.755 MB / 0.6278 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.4924, allocations: 12 kB / 0.6278 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/0.4924, allocations: 4 kB / 0.6278 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.4924, allocations: 11.92 kB / 0.6278 GB, free: 4.137 MB / 430.1 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.01414/0.5065, allocations: 6.352 MB / 0.634 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.5066, allocations: 5.625 kB / 0.634 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005645/0.5071, allocations: 103.9 kB / 0.6341 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005599/0.5127, allocations: 1.877 MB / 0.6359 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.447e-05/0.5128, allocations: 19.94 kB / 0.636 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.019/0.5319, allocations: 9.706 MB / 0.6454 GB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5319, allocations: 0.625 kB / 0.6454 GB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01493/0.5468, allocations: 5.682 MB / 0.651 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004262/0.5473, allocations: 239.2 kB / 0.6512 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002419/0.5475, allocations: 17 kB / 0.6512 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/0.5488, allocations: 143.9 kB / 0.6514 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004871/0.5493, allocations: 193.4 kB / 0.6515 GB, free: 11.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-05/0.5494, allocations: 23.98 kB / 0.6516 GB, free: 11.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001137/0.5505, allocations: 0.767 MB / 0.6523 GB, free: 10.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5505, allocations: 0 / 0.6523 GB, free: 10.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001389/0.5519, allocations: 483.5 kB / 0.6528 GB, free: 10.1 MB / 462.1 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.01519/0.5671, allocations: 6.28 MB / 0.6589 GB, free: 3.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006664/0.5738, allocations: 2.868 MB / 0.6617 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.5738, allocations: 4.25 kB / 0.6617 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004245/0.5781, allocations: 1.801 MB / 0.6635 GB, free: 15.02 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.5791, allocations: 113.2 kB / 0.6636 GB, free: 14.91 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04227/0.6214, allocations: 19.52 MB / 0.6827 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006395/0.622, allocations: 1.136 MB / 0.6838 GB, free: 9.828 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005125/0.6226, allocations: 119.8 kB / 0.6839 GB, free: 9.711 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006399/0.6232, allocations: 475.3 kB / 0.6843 GB, free: 9.246 MB / 494.1 MB Notification: Performance of SimCode: time 6.71e-07/0.6232, allocations: 1.031 kB / 0.6843 GB, free: 9.246 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05033/0.6736, allocations: 31.94 MB / 0.7155 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/0.6738, allocations: 251.4 kB / 0.7158 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/3.106, allocations: 0 / 0.7158 GB, free: 9.457 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)