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.008034/0.008034, allocations: 170.2 kB / 15.13 MB, free: 6.031 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.395/1.395, allocations: 223.2 MB / 239.1 MB, free: 1.711 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.0008622/0.0008622, allocations: 102 kB / 290.3 MB, free: 13.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4418/0.4418, allocations: 78.62 MB / 420 MB, free: 44.21 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003877/0.0003879, allocations: 12 kB / 500 MB, free: 2.82 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3506, allocations: 69.35 MB / 0.556 GB, free: 38.25 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.005537/0.3562, allocations: 6.129 MB / 0.562 GB, free: 37.16 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003977/0.3602, allocations: 1.959 MB / 0.5639 GB, free: 35.77 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000892/0.3611, allocations: 15 kB / 0.5639 GB, free: 35.77 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000613/0.3617, allocations: 166.7 kB / 0.5641 GB, free: 35.7 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001867/0.3636, allocations: 0.6752 MB / 0.5647 GB, free: 35.26 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.3649, allocations: 0.5309 MB / 0.5652 GB, free: 35.01 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001866/0.3668, allocations: 1.488 MB / 0.5667 GB, free: 34.26 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005127/0.3673, allocations: 268.6 kB / 0.5669 GB, free: 34.14 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009693/0.3683, allocations: 0.5847 MB / 0.5675 GB, free: 33.89 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008532/0.3692, allocations: 0.7742 MB / 0.5683 GB, free: 33.57 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001903/0.3694, allocations: 64.81 kB / 0.5683 GB, free: 33.57 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005448/0.3699, allocations: 182.3 kB / 0.5685 GB, free: 33.54 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002093/0.3702, allocations: 273.4 kB / 0.5688 GB, free: 33.38 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002513/0.3704, allocations: 233 kB / 0.569 GB, free: 33.23 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009252/0.3714, allocations: 1.289 MB / 0.5702 GB, free: 32.85 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3714, allocations: 0 / 0.5702 GB, free: 32.85 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3714, allocations: 2.781 kB / 0.5702 GB, free: 32.85 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.139e-05/0.3714, allocations: 0 / 0.5702 GB, free: 32.85 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.008178/0.3796, allocations: 2.6 MB / 0.5728 GB, free: 31.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3796, allocations: 11.16 kB / 0.5728 GB, free: 31.71 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002382/0.3799, allocations: 130.1 kB / 0.5729 GB, free: 31.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004904/0.3848, allocations: 0.7889 MB / 0.5737 GB, free: 31.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/0.3864, allocations: 0.8778 MB / 0.5746 GB, free: 30.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002422/0.3867, allocations: 267.2 kB / 0.5748 GB, free: 30.67 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.3869, allocations: 86.97 kB / 0.5749 GB, free: 30.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.3891, allocations: 1.161 MB / 0.576 GB, free: 30.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.3891, allocations: 3.938 kB / 0.576 GB, free: 30.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.345e-05/0.3892, allocations: 36.39 kB / 0.5761 GB, free: 30.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.3893, allocations: 18.22 kB / 0.5761 GB, free: 30.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/0.3912, allocations: 1.061 MB / 0.5771 GB, free: 29.84 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.006772/0.398, allocations: 3.996 MB / 0.581 GB, free: 27.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008061/0.4061, allocations: 2.947 MB / 0.5839 GB, free: 26.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001686/0.4078, allocations: 0.7494 MB / 0.5846 GB, free: 26.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.408, allocations: 18.7 kB / 0.5846 GB, free: 26.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00158/0.4096, allocations: 0.9074 MB / 0.5855 GB, free: 26.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=98): time 3.667e-06/0.4096, allocations: 0 / 0.5855 GB, free: 26.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=98): time 0.03014/0.4397, allocations: 8.609 MB / 0.5939 GB, free: 24.47 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.4398, allocations: 121.6 kB / 0.5941 GB, free: 24.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/0.4418, allocations: 1.129 MB / 0.5952 GB, free: 23.87 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003112/0.4421, allocations: 45.39 kB / 0.5952 GB, free: 23.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/0.4424, allocations: 0.493 MB / 0.5957 GB, free: 23.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003937/0.4428, allocations: 367.6 kB / 0.596 GB, free: 23.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.4429, allocations: 33.41 kB / 0.5961 GB, free: 23.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.443, allocations: 367.5 kB / 0.5964 GB, free: 22.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001826/0.4449, allocations: 0.8552 MB / 0.5972 GB, free: 22.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/0.4469, allocations: 1.026 MB / 0.5983 GB, free: 22.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001936/0.4488, allocations: 0.9936 MB / 0.5992 GB, free: 21.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.4488, allocations: 1.688 kB / 0.5992 GB, free: 21.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01642/0.4653, allocations: 5.298 MB / 0.6044 GB, free: 20.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.947e-05/0.4654, allocations: 59.75 kB / 0.6045 GB, free: 20.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/0.4654, allocations: 4.219 kB / 0.6045 GB, free: 20.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007584/0.473, allocations: 2.009 MB / 0.6064 GB, free: 19.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/0.4747, allocations: 301.6 kB / 0.6067 GB, free: 19.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0206/0.4954, allocations: 10.39 MB / 0.6169 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002208/0.4976, allocations: 242.6 kB / 0.6171 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/0.4978, allocations: 59.97 kB / 0.6171 GB, free: 10.89 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.0006803/0.4985, allocations: 297.1 kB / 0.6174 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002875/0.4988, allocations: 130.5 kB / 0.6176 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/0.5117, allocations: 4.768 MB / 0.6222 GB, free: 5.664 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.5118, allocations: 12 kB / 0.6222 GB, free: 5.652 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.5118, allocations: 12 kB / 0.6222 GB, free: 5.641 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.707e-05/0.5118, allocations: 3.984 kB / 0.6222 GB, free: 5.637 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.01526/0.5271, allocations: 6.384 MB / 0.6285 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/0.5272, allocations: 0 / 0.6285 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008051/0.528, allocations: 107.8 kB / 0.6286 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006066/0.5341, allocations: 1.879 MB / 0.6304 GB, free: 13.15 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002239/0.5343, allocations: 27.98 kB / 0.6304 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02046/0.5548, allocations: 9.668 MB / 0.6399 GB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.5549, allocations: 3.953 kB / 0.6399 GB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01662/0.5715, allocations: 5.706 MB / 0.6454 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005275/0.5721, allocations: 235.2 kB / 0.6457 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/0.5723, allocations: 20 kB / 0.6457 GB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.5736, allocations: 143.9 kB / 0.6458 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005514/0.5741, allocations: 200.6 kB / 0.646 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.768e-05/0.5742, allocations: 28 kB / 0.646 GB, free: 12.79 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001152/0.5754, allocations: 0.7556 MB / 0.6468 GB, free: 12.03 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.563e-06/0.5754, allocations: 4.109 kB / 0.6468 GB, free: 12.03 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001663/0.5771, allocations: 499.5 kB / 0.6473 GB, free: 11.54 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.01655/0.5936, allocations: 6.284 MB / 0.6534 GB, free: 5.207 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007697/0.6014, allocations: 2.998 MB / 0.6563 GB, free: 2.16 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.6014, allocations: 0.75 kB / 0.6563 GB, free: 2.16 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004825/0.6063, allocations: 1.835 MB / 0.6581 GB, free: 292 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.6073, allocations: 112.4 kB / 0.6582 GB, free: 184 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02844/0.6358, allocations: 12.66 MB / 0.6706 GB, free: 3.172 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008242/0.6367, allocations: 1.136 MB / 0.6717 GB, free: 2.004 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006485/0.6373, allocations: 116.3 kB / 0.6718 GB, free: 1.887 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006927/0.638, allocations: 487.3 kB / 0.6723 GB, free: 1.41 MB / 474.7 MB Notification: Performance of SimCode: time 1.703e-06/0.638, allocations: 4 kB / 0.6723 GB, free: 1.406 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06011/0.6982, allocations: 33.2 MB / 0.7047 GB, free: 436 kB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/0.6984, allocations: 236 kB / 0.7049 GB, free: 188 kB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.244/3.942, allocations: 0 / 0.7049 GB, free: 188 kB / 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)