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.001094/0.001094, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.45/1.45, allocations: 223.2 MB / 238.9 MB, free: 5.672 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.001412/0.001412, allocations: 180.3 kB / 290.2 MB, free: 2.375 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4823/0.4823, allocations: 78.53 MB / 419.8 MB, free: 4.344 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003688, allocations: 8 kB / 499.7 MB, free: 6.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1473, allocations: 69.36 MB / 0.5558 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.2915/0.4389, allocations: 5.85 MB / 0.5615 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00468/0.4436, allocations: 1.996 MB / 0.5634 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008477/0.4445, allocations: 14.78 kB / 0.5634 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006967/0.4452, allocations: 177.8 kB / 0.5636 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.4472, allocations: 0.7238 MB / 0.5643 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.4484, allocations: 0.5256 MB / 0.5648 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001754/0.4501, allocations: 1.035 MB / 0.5658 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004905/0.4506, allocations: 263.1 kB / 0.5661 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009389/0.4516, allocations: 0.5943 MB / 0.5667 GB, free: 36.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007494/0.4524, allocations: 0.7646 MB / 0.5674 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.4525, allocations: 62.06 kB / 0.5675 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004775/0.453, allocations: 172 kB / 0.5676 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002216/0.4532, allocations: 267.1 kB / 0.5679 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.4534, allocations: 237.3 kB / 0.5681 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.4545, allocations: 1.239 MB / 0.5693 GB, free: 35.87 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4545, allocations: 3.5 kB / 0.5693 GB, free: 35.87 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4545, allocations: 0 / 0.5693 GB, free: 35.87 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.4546, allocations: 0 / 0.5693 GB, free: 35.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.008416/0.463, allocations: 2.601 MB / 0.5719 GB, free: 34.92 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.463, allocations: 9.75 kB / 0.5719 GB, free: 34.92 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003604/0.4634, allocations: 131.9 kB / 0.572 GB, free: 34.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005123/0.4685, allocations: 0.7855 MB / 0.5728 GB, free: 34.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002002/0.4706, allocations: 0.8829 MB / 0.5736 GB, free: 34.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002777/0.4709, allocations: 277.8 kB / 0.5739 GB, free: 34.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/0.471, allocations: 84.03 kB / 0.574 GB, free: 34.2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002322/0.4734, allocations: 1.16 MB / 0.5751 GB, free: 33.87 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.4734, allocations: 3.594 kB / 0.5751 GB, free: 33.87 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.515e-05/0.4735, allocations: 30.92 kB / 0.5751 GB, free: 33.85 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.4735, allocations: 22.48 kB / 0.5752 GB, free: 33.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/0.4756, allocations: 1.054 MB / 0.5762 GB, free: 33.5 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.006726/0.4823, allocations: 4.208 MB / 0.5803 GB, free: 31 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007259/0.4896, allocations: 2.943 MB / 0.5832 GB, free: 30.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002198/0.4899, allocations: 20.34 kB / 0.5832 GB, free: 30.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001942/0.4918, allocations: 0.8955 MB / 0.5841 GB, free: 29.76 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.717e-06/0.4918, allocations: 0 / 0.5841 GB, free: 29.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.03237/0.5242, allocations: 8.6 MB / 0.5925 GB, free: 28.19 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/0.5243, allocations: 118.7 kB / 0.5926 GB, free: 28.06 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002522/0.5269, allocations: 1.133 MB / 0.5937 GB, free: 27.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003238/0.5272, allocations: 46.8 kB / 0.5937 GB, free: 27.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003819/0.5276, allocations: 0.4925 MB / 0.5942 GB, free: 27.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004098/0.528, allocations: 370.7 kB / 0.5946 GB, free: 26.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.5281, allocations: 30.62 kB / 0.5946 GB, free: 26.83 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.5283, allocations: 368.2 kB / 0.595 GB, free: 26.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.53, allocations: 0.8537 MB / 0.5958 GB, free: 26.19 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/0.5319, allocations: 1.024 MB / 0.5968 GB, free: 25.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001888/0.5338, allocations: 0.9896 MB / 0.5978 GB, free: 25.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.5338, allocations: 3.094 kB / 0.5978 GB, free: 25.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01595/0.5497, allocations: 5.3 MB / 0.6029 GB, free: 23.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.731e-05/0.5499, allocations: 59.58 kB / 0.603 GB, free: 23.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.5499, allocations: 2.781 kB / 0.603 GB, free: 23.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00787/0.5578, allocations: 2.014 MB / 0.605 GB, free: 23.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/0.5597, allocations: 293.6 kB / 0.6052 GB, free: 23.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02502/0.5847, allocations: 10.84 MB / 0.6158 GB, free: 16.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002526/0.5873, allocations: 242.6 kB / 0.6161 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003916/0.5877, allocations: 59.97 kB / 0.6161 GB, free: 15.73 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 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.001023/0.5888, allocations: 296.6 kB / 0.6164 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000487/0.5893, allocations: 130.4 kB / 0.6165 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/0.6018, allocations: 4.764 MB / 0.6212 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.27e-05/0.6019, allocations: 12 kB / 0.6212 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.72e-05/0.6019, allocations: 8 kB / 0.6212 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.202e-05/0.602, allocations: 3.984 kB / 0.6212 GB, free: 10.49 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.01556/0.6175, allocations: 6.435 MB / 0.6275 GB, free: 3.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.868e-05/0.6176, allocations: 5.688 kB / 0.6275 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008642/0.6185, allocations: 103.8 kB / 0.6276 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005603/0.6241, allocations: 1.883 MB / 0.6294 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002629/0.6244, allocations: 27.95 kB / 0.6294 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02278/0.6472, allocations: 10.11 MB / 0.6393 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.6473, allocations: 4.172 kB / 0.6393 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0167/0.664, allocations: 5.721 MB / 0.6449 GB, free: 1.754 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007172/0.6648, allocations: 235.2 kB / 0.6451 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005665/0.6654, allocations: 20.75 kB / 0.6452 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/0.6671, allocations: 143.9 kB / 0.6453 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000743/0.6678, allocations: 196.6 kB / 0.6455 GB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001788/0.668, allocations: 24 kB / 0.6455 GB, free: 1.129 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001522/0.6696, allocations: 0.7595 MB / 0.6462 GB, free: 372 kB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6696, allocations: 0 / 0.6462 GB, free: 372 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.002521/0.6721, allocations: 0.4918 MB / 0.6467 GB, free: 15.87 MB / 462.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 (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.01696/0.6891, allocations: 6.371 MB / 0.6529 GB, free: 9.449 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008449/0.6976, allocations: 2.989 MB / 0.6559 GB, free: 6.41 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.6977, allocations: 0.75 kB / 0.6559 GB, free: 6.41 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005078/0.7028, allocations: 1.828 MB / 0.6577 GB, free: 4.547 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.7043, allocations: 95.05 kB / 0.6577 GB, free: 4.457 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008465/0.7128, allocations: 5.259 MB / 0.6629 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009531/0.7138, allocations: 1.155 MB / 0.664 GB, free: 13.97 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006829/0.7145, allocations: 124.5 kB / 0.6641 GB, free: 13.85 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008754/0.7154, allocations: 487.3 kB / 0.6646 GB, free: 13.38 MB / 478.1 MB Notification: Performance of SimCode: time 1.643e-06/0.7154, allocations: 1.781 kB / 0.6646 GB, free: 13.38 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06886/0.7842, allocations: 32.26 MB / 0.6961 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/0.7845, allocations: 226.9 kB / 0.6963 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.953/3.737, allocations: 7.875 kB / 0.6963 GB, free: 13.25 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/linux/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) Environment - environmentSimulation: