Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.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 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.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_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.005114/0.005114, allocations: 170.8 kB / 15.11 MB, free: 5.973 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.322/1.322, allocations: 223.2 MB / 239 MB, free: 1.793 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.000991/0.0009911, allocations: 101.3 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4707/0.4707, allocations: 78.51 MB / 419.8 MB, free: 44.03 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005396/0.0005397, allocations: 8 kB / 499.8 MB, free: 2.648 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4034, allocations: 69.35 MB / 0.5558 GB, free: 39.03 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1566/0.5601, allocations: 101.5 MB / 0.6549 GB, free: 4.879 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.5605, allocations: 79.95 kB / 0.655 GB, free: 4.801 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2504/0.8109, allocations: 100.2 MB / 0.7528 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.534e-06/0.8109, allocations: 4 kB / 0.7528 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002292/0.8112, allocations: 87.94 kB / 0.7529 GB, free: 15.88 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01951/0.8307, allocations: 6.554 MB / 0.7593 GB, free: 9.23 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.8307, allocations: 8.031 kB / 0.7593 GB, free: 9.223 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001764/0.8325, allocations: 488.8 kB / 0.7598 GB, free: 8.734 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01734/0.8499, allocations: 2.803 MB / 0.7625 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005957/0.8559, allocations: 2.272 MB / 0.7647 GB, free: 3.574 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009019/0.8568, allocations: 0.9846 MB / 0.7657 GB, free: 2.453 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007937/0.8576, allocations: 347.9 kB / 0.766 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3192/1.177, allocations: 4.926 MB / 0.7709 GB, free: 91.27 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.031e-05/1.177, allocations: 1.375 kB / 0.7709 GB, free: 91.27 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004299/1.177, allocations: 138.4 kB / 0.771 GB, free: 91.27 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.835e-05/1.177, allocations: 84.09 kB / 0.7711 GB, free: 91.27 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01164/1.189, allocations: 4.491 MB / 0.7755 GB, free: 91.24 MB / 0.5573 GB 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.03959/1.229, allocations: 18.57 MB / 0.7936 GB, free: 84.88 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01338/1.242, allocations: 5.664 MB / 0.7991 GB, free: 84.43 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009604/1.243, allocations: 76.14 kB / 0.7992 GB, free: 84.43 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008644/1.252, allocations: 3.419 MB / 0.8025 GB, free: 84.29 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=382): time 1.172e-05/1.252, allocations: 1.156 kB / 0.8025 GB, free: 84.29 MB / 0.5573 GB Notification: Performance of matching and sorting (n=382): time 0.3071/1.559, allocations: 78.4 MB / 0.8791 GB, free: 78.38 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.318e-05/1.559, allocations: 141.8 kB / 0.8792 GB, free: 78.22 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005867/1.565, allocations: 2.72 MB / 0.8819 GB, free: 76.59 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001119/1.566, allocations: 89.19 kB / 0.882 GB, free: 76.55 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001462/1.568, allocations: 2.001 MB / 0.8839 GB, free: 75.69 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00174/1.569, allocations: 1.296 MB / 0.8852 GB, free: 74.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002894/1.57, allocations: 72 kB / 0.8853 GB, free: 74.63 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001859/1.57, allocations: 450.5 kB / 0.8857 GB, free: 74.23 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004876/1.575, allocations: 2.655 MB / 0.8883 GB, free: 71.85 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005032/1.58, allocations: 3.231 MB / 0.8914 GB, free: 68.43 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004984/1.585, allocations: 2.904 MB / 0.8943 GB, free: 65.52 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.42e-05/1.585, allocations: 6.812 kB / 0.8943 GB, free: 65.51 MB / 0.5573 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.05341/1.638, allocations: 20.17 MB / 0.914 GB, free: 45.48 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.551e-05/1.638, allocations: 64.81 kB / 0.914 GB, free: 45.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.598e-05/1.638, allocations: 16 kB / 0.9141 GB, free: 45.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02558/1.664, allocations: 8.553 MB / 0.9224 GB, free: 36.83 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003086/1.667, allocations: 0.5645 MB / 0.923 GB, free: 36.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08305/1.75, allocations: 37.09 MB / 0.9592 GB, free: 15.12 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006335/1.756, allocations: 0.7074 MB / 0.9599 GB, free: 14.41 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008132/1.757, allocations: 131.9 kB / 0.96 GB, free: 14.29 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order3_1.e1q:VARIABLE(start = order3_1.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: 65 * 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 (329): * Single equations (assignments): 326 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.002334/1.76, allocations: 0.6576 MB / 0.9606 GB, free: 13.65 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001337/1.761, allocations: 454.4 kB / 0.9611 GB, free: 13.2 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05872/1.82, allocations: 20.55 MB / 0.9811 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.087e-05/1.82, allocations: 36 kB / 0.9812 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.792e-05/1.82, allocations: 28 kB / 0.9812 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001222/1.82, allocations: 19.92 kB / 0.9812 GB, free: 8.52 MB / 0.5886 GB 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.3813/2.201, allocations: 25.5 MB / 1.006 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-05/2.201, allocations: 3.344 kB / 1.006 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002426/2.204, allocations: 387.4 kB / 1.006 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02677/2.231, allocations: 8.617 MB / 1.015 GB, free: 106.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00101/2.232, allocations: 70.73 kB / 1.015 GB, free: 106.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08335/2.315, allocations: 34.33 MB / 1.049 GB, free: 103.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/2.315, allocations: 1.797 kB / 1.049 GB, free: 103.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06337/2.378, allocations: 24.19 MB / 1.072 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001976/2.381, allocations: 0.5565 MB / 1.073 GB, free: 100.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001743/2.382, allocations: 67.22 kB / 1.073 GB, free: 100.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005151/2.387, allocations: 498.7 kB / 1.073 GB, free: 100.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003593/2.391, allocations: 0.7811 MB / 1.074 GB, free: 99.94 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005173/2.392, allocations: 94.78 kB / 1.074 GB, free: 99.92 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003397/2.395, allocations: 2.069 MB / 1.076 GB, free: 99.17 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.9e-07/2.395, allocations: 4 kB / 1.076 GB, free: 99.16 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00726/2.402, allocations: 1.76 MB / 1.078 GB, free: 98.96 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (246): * Single equations (assignments): 243 * 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 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.06426/2.467, allocations: 24.93 MB / 1.102 GB, free: 90.21 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02619/2.493, allocations: 9.935 MB / 1.112 GB, free: 81.66 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/2.493, allocations: 4.25 kB / 1.112 GB, free: 81.66 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.02074/2.514, allocations: 7.026 MB / 1.119 GB, free: 75.68 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00427/2.518, allocations: 301.4 kB / 1.119 GB, free: 75.39 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02763/2.546, allocations: 20.91 MB / 1.139 GB, free: 55.01 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001755/2.547, allocations: 2.538 MB / 1.142 GB, free: 53.12 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001739/2.549, allocations: 296.4 kB / 1.142 GB, free: 52.92 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002082/2.551, allocations: 1.974 MB / 1.144 GB, free: 51.1 MB / 0.5886 GB Notification: Performance of SimCode: time 1.432e-06/2.551, allocations: 4 kB / 1.144 GB, free: 51.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4676/3.019, allocations: 112 MB / 1.253 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/3.019, allocations: 205 kB / 1.254 GB, free: 119.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.744/9.763, allocations: 2.906 kB / 1.254 GB, free: 119.5 MB / 0.6042 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)