Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_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.006074/0.006074, allocations: 169.2 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.338/1.338, allocations: 223.2 MB / 239 MB, free: 1.777 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.0008248/0.0008248, allocations: 94.44 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4856/0.4856, allocations: 78.59 MB / 419.9 MB, free: 44.1 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000407/0.000407, allocations: 15.98 kB / 499.9 MB, free: 2.801 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3475, allocations: 69.35 MB / 0.5559 GB, free: 38.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.4776, allocations: 102.6 MB / 0.6561 GB, free: 3.855 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.4779, allocations: 83.94 kB / 0.6561 GB, free: 3.773 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2591/0.737, allocations: 101.2 MB / 0.755 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.454e-06/0.737, allocations: 0 / 0.755 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0004387/0.7375, allocations: 87.94 kB / 0.7551 GB, free: 13.82 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.02194/0.7594, allocations: 6.621 MB / 0.7615 GB, free: 7.113 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.7595, allocations: 8.031 kB / 0.7616 GB, free: 7.105 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001606/0.7611, allocations: 488.9 kB / 0.762 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01781/0.7789, allocations: 2.807 MB / 0.7648 GB, free: 3.801 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006281/0.7852, allocations: 2.303 MB / 0.767 GB, free: 1.422 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001034/0.7863, allocations: 0.9885 MB / 0.768 GB, free: 304 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2984/1.085, allocations: 339.3 kB / 0.7683 GB, free: 90.17 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01536/1.1, allocations: 4.943 MB / 0.7731 GB, free: 90 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-05/1.1, allocations: 2.781 kB / 0.7731 GB, free: 90 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004564/1.101, allocations: 143.6 kB / 0.7733 GB, free: 90 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-05/1.101, allocations: 83.75 kB / 0.7733 GB, free: 90 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01175/1.113, allocations: 4.495 MB / 0.7777 GB, free: 89.96 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.03948/1.152, allocations: 18.64 MB / 0.7959 GB, free: 83.6 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01333/1.165, allocations: 5.684 MB / 0.8015 GB, free: 83.15 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007187/1.166, allocations: 69.77 kB / 0.8016 GB, free: 83.15 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007671/1.174, allocations: 3.436 MB / 0.8049 GB, free: 83.01 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=384): time 7.254e-06/1.174, allocations: 1.375 kB / 0.8049 GB, free: 83.01 MB / 0.5573 GB Notification: Performance of matching and sorting (n=384): time 0.3042/1.478, allocations: 76.99 MB / 0.8801 GB, free: 76.67 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.074e-05/1.478, allocations: 147.9 kB / 0.8802 GB, free: 76.5 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004085/1.482, allocations: 2.754 MB / 0.8829 GB, free: 74.86 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008906/1.483, allocations: 84.14 kB / 0.883 GB, free: 74.82 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001122/1.484, allocations: 1.999 MB / 0.885 GB, free: 73.23 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001538/1.486, allocations: 1.302 MB / 0.8862 GB, free: 72.23 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002927/1.486, allocations: 76 kB / 0.8863 GB, free: 72.15 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.486, allocations: 443.6 kB / 0.8867 GB, free: 71.76 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004957/1.491, allocations: 2.67 MB / 0.8893 GB, free: 69.41 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005236/1.497, allocations: 3.247 MB / 0.8925 GB, free: 66.35 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005278/1.502, allocations: 2.917 MB / 0.8954 GB, free: 63.59 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/1.502, allocations: 4 kB / 0.8954 GB, free: 63.59 MB / 0.5573 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.05634/1.558, allocations: 20.2 MB / 0.9151 GB, free: 43.53 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/1.559, allocations: 71.39 kB / 0.9152 GB, free: 43.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-05/1.559, allocations: 16 kB / 0.9152 GB, free: 43.43 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02737/1.586, allocations: 8.549 MB / 0.9235 GB, free: 34.88 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003564/1.59, allocations: 0.5779 MB / 0.9241 GB, free: 34.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0909/1.681, allocations: 37.05 MB / 0.9603 GB, free: 13.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007738/1.688, allocations: 0.7035 MB / 0.9609 GB, free: 12.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001293/1.69, allocations: 139.9 kB / 0.9611 GB, free: 12.36 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-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 (333): * Single equations (assignments): 330 * 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.004269/1.694, allocations: 0.6473 MB / 0.9617 GB, free: 11.73 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002673/1.697, allocations: 461.3 kB / 0.9622 GB, free: 11.28 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06704/1.764, allocations: 20.58 MB / 0.9823 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.615e-05/1.764, allocations: 36 kB / 0.9823 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001045/1.764, allocations: 35.95 kB / 0.9823 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001693/1.764, allocations: 19.92 kB / 0.9823 GB, free: 6.555 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.356/2.12, allocations: 25.52 MB / 1.007 GB, free: 105 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-05/2.12, allocations: 2.969 kB / 1.007 GB, free: 105 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002375/2.123, allocations: 389.9 kB / 1.008 GB, free: 105 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02616/2.149, allocations: 8.603 MB / 1.016 GB, free: 105 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008746/2.15, allocations: 70.53 kB / 1.016 GB, free: 105 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08199/2.232, allocations: 34.43 MB / 1.05 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/2.232, allocations: 0 / 1.05 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06225/2.294, allocations: 24.25 MB / 1.073 GB, free: 98.58 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001719/2.296, allocations: 0.5621 MB / 1.074 GB, free: 98.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001547/2.297, allocations: 66.53 kB / 1.074 GB, free: 98.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005398/2.303, allocations: 0.4915 MB / 1.075 GB, free: 98.07 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003606/2.306, allocations: 0.7763 MB / 1.075 GB, free: 97.96 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007336/2.307, allocations: 98.47 kB / 1.075 GB, free: 97.93 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003559/2.311, allocations: 2.097 MB / 1.077 GB, free: 97.17 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.1e-07/2.311, allocations: 3.906 kB / 1.077 GB, free: 97.17 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.007316/2.318, allocations: 1.762 MB / 1.079 GB, free: 96.96 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,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 (248): * Single equations (assignments): 245 * 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 {(96,5.5%) 40} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.06821/2.386, allocations: 24.99 MB / 1.104 GB, free: 86.91 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02596/2.412, allocations: 9.968 MB / 1.113 GB, free: 78.33 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/2.412, allocations: 0 / 1.113 GB, free: 78.33 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.02044/2.433, allocations: 7.029 MB / 1.12 GB, free: 72.35 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003775/2.437, allocations: 312.9 kB / 1.12 GB, free: 72.05 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02355/2.46, allocations: 21.15 MB / 1.141 GB, free: 51.43 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001595/2.462, allocations: 2.544 MB / 1.144 GB, free: 49.53 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001611/2.463, allocations: 300.1 kB / 1.144 GB, free: 49.33 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002023/2.465, allocations: 1.986 MB / 1.146 GB, free: 47.5 MB / 0.5886 GB Notification: Performance of SimCode: time 6.72e-07/2.465, allocations: 0 / 1.146 GB, free: 47.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4249/2.89, allocations: 112.7 MB / 1.256 GB, free: 122.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/2.891, allocations: 214.8 kB / 1.256 GB, free: 122.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.575/9.465, allocations: 0 / 1.256 GB, free: 122.2 MB / 0.6042 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)