Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_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.001316/0.001316, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.31/1.31, allocations: 222.9 MB / 238.8 MB, free: 4.723 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.001233/0.001233, allocations: 200.4 kB / 289.1 MB, free: 2.461 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4172/0.4172, allocations: 78.52 MB / 417.8 MB, free: 3.336 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 75.89 kB / 496.9 MB, free: 6.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1189, allocations: 68.18 MB / 0.5518 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.2364/0.3554, allocations: 7.002 MB / 0.5586 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003952/0.3594, allocations: 2.054 MB / 0.5606 GB, free: 35.35 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.3607, allocations: 12.47 kB / 0.5606 GB, free: 35.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008535/0.3616, allocations: 192 kB / 0.5608 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002368/0.364, allocations: 0.7272 MB / 0.5615 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.3653, allocations: 0.5982 MB / 0.5621 GB, free: 35.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001793/0.3671, allocations: 1.579 MB / 0.5637 GB, free: 35.03 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004311/0.3676, allocations: 293.5 kB / 0.5639 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009763/0.3686, allocations: 0.6254 MB / 0.5646 GB, free: 34.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008236/0.3694, allocations: 0.8321 MB / 0.5654 GB, free: 34.6 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001697/0.3696, allocations: 75.66 kB / 0.5654 GB, free: 34.6 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005255/0.3701, allocations: 203.5 kB / 0.5656 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002351/0.3704, allocations: 299.2 kB / 0.5659 GB, free: 34.51 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005187/0.3709, allocations: 0.6431 MB / 0.5666 GB, free: 34.26 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.3722, allocations: 1.664 MB / 0.5682 GB, free: 33.87 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3722, allocations: 0 / 0.5682 GB, free: 33.87 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3722, allocations: 0 / 0.5682 GB, free: 33.87 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.7e-05/0.3722, allocations: 0 / 0.5682 GB, free: 33.87 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.008751/0.381, allocations: 2.781 MB / 0.5709 GB, free: 32.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.3811, allocations: 13.19 kB / 0.5709 GB, free: 32.88 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001414/0.3812, allocations: 129.6 kB / 0.571 GB, free: 32.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004763/0.386, allocations: 0.7737 MB / 0.5718 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/0.3878, allocations: 0.9228 MB / 0.5727 GB, free: 32.33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002514/0.3881, allocations: 264 kB / 0.5729 GB, free: 32.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.3883, allocations: 85.94 kB / 0.573 GB, free: 32.14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.3902, allocations: 1.112 MB / 0.5741 GB, free: 32.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.3903, allocations: 0 / 0.5741 GB, free: 32.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.035e-05/0.3904, allocations: 30.44 kB / 0.5741 GB, free: 32.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.3904, allocations: 17.5 kB / 0.5741 GB, free: 32.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.3922, allocations: 1.007 MB / 0.5751 GB, free: 32.04 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.006386/0.3986, allocations: 3.922 MB / 0.579 GB, free: 30.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007023/0.4056, allocations: 2.399 MB / 0.5813 GB, free: 29.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00154/0.4072, allocations: 0.6951 MB / 0.582 GB, free: 29.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.4073, allocations: 26.11 kB / 0.582 GB, free: 29.26 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001524/0.4089, allocations: 0.837 MB / 0.5828 GB, free: 28.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.316e-06/0.4089, allocations: 0 / 0.5828 GB, free: 28.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02741/0.4363, allocations: 7.082 MB / 0.5897 GB, free: 27.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.4364, allocations: 119 kB / 0.5899 GB, free: 27.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/0.4382, allocations: 1.137 MB / 0.591 GB, free: 26.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003004/0.4385, allocations: 50.8 kB / 0.591 GB, free: 26.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003327/0.4389, allocations: 0.4966 MB / 0.5915 GB, free: 26.49 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003865/0.4393, allocations: 362.5 kB / 0.5918 GB, free: 26.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005284/0.4398, allocations: 300.7 kB / 0.5921 GB, free: 26.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.647e-05/0.4399, allocations: 302.5 kB / 0.5924 GB, free: 25.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/0.4415, allocations: 0.7943 MB / 0.5932 GB, free: 25.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/0.4432, allocations: 0.9781 MB / 0.5942 GB, free: 25.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02559/0.4688, allocations: 5.922 MB / 0.5999 GB, free: 23.22 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-05/0.4689, allocations: 0.8125 kB / 0.5999 GB, free: 23.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01529/0.4842, allocations: 4.514 MB / 0.6043 GB, free: 21.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.017e-05/0.4843, allocations: 62.28 kB / 0.6044 GB, free: 21.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.4843, allocations: 3.656 kB / 0.6044 GB, free: 21.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006104/0.4904, allocations: 1.664 MB / 0.606 GB, free: 21.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/0.492, allocations: 296.6 kB / 0.6063 GB, free: 21.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01791/0.51, allocations: 7.942 MB / 0.6141 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/0.5122, allocations: 206.6 kB / 0.6143 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003298/0.5125, allocations: 51.98 kB / 0.6143 GB, free: 14.96 MB / 430.1 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.0008405/0.5134, allocations: 318.5 kB / 0.6146 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004013/0.5138, allocations: 130.4 kB / 0.6147 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/0.5248, allocations: 3.912 MB / 0.6186 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/0.5249, allocations: 12 kB / 0.6186 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.548e-05/0.5249, allocations: 8 kB / 0.6186 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-05/0.525, allocations: 7.984 kB / 0.6186 GB, free: 10.55 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.0139/0.5389, allocations: 5.556 MB / 0.624 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.94e-05/0.5389, allocations: 0.9844 kB / 0.624 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007675/0.5397, allocations: 103.9 kB / 0.6241 GB, free: 4.777 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00491/0.5446, allocations: 1.604 MB / 0.6257 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002446/0.5449, allocations: 24.75 kB / 0.6257 GB, free: 3.145 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01803/0.563, allocations: 8.778 MB / 0.6343 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.563, allocations: 0.875 kB / 0.6343 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01436/0.5774, allocations: 4.803 MB / 0.639 GB, free: 5.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005355/0.578, allocations: 231.2 kB / 0.6392 GB, free: 5.004 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004938/0.5785, allocations: 21.88 kB / 0.6392 GB, free: 4.984 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/0.58, allocations: 107.9 kB / 0.6393 GB, free: 4.879 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007238/0.5808, allocations: 196.7 kB / 0.6395 GB, free: 4.688 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001653/0.5809, allocations: 20 kB / 0.6395 GB, free: 4.668 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001325/0.5823, allocations: 0.7752 MB / 0.6403 GB, free: 3.887 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.413e-06/0.5823, allocations: 0 / 0.6403 GB, free: 3.887 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001898/0.5842, allocations: 495.5 kB / 0.6408 GB, free: 3.402 MB / 446.1 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.01478/0.599, allocations: 5.401 MB / 0.646 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007009/0.606, allocations: 2.625 MB / 0.6486 GB, free: 11.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.6061, allocations: 0 / 0.6486 GB, free: 11.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004418/0.6105, allocations: 1.618 MB / 0.6502 GB, free: 9.645 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.6122, allocations: 108.6 kB / 0.6503 GB, free: 9.535 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04374/0.6559, allocations: 17.96 MB / 0.6678 GB, free: 7.184 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008494/0.6568, allocations: 1.136 MB / 0.6689 GB, free: 6.016 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006749/0.6575, allocations: 124.5 kB / 0.669 GB, free: 5.895 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008002/0.6584, allocations: 487.3 kB / 0.6695 GB, free: 5.422 MB / 478.1 MB Notification: Performance of SimCode: time 8.41e-07/0.6584, allocations: 0 / 0.6695 GB, free: 5.422 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05545/0.7138, allocations: 32.96 MB / 0.7017 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/0.7141, allocations: 246.9 kB / 0.7019 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.591/3.306, allocations: 0 / 0.7019 GB, free: 4.609 MB / 0.4981 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)