Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.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.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI",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.001312/0.001312, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.328/1.328, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000878/0.000878, allocations: 96.27 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4512/0.4512, allocations: 78.08 MB / 414.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.017e-05/3.022e-05, allocations: 7.984 kB / 491.9 MB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3464, allocations: 69.34 MB / 0.5481 GB, free: 20.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1302/0.4767, allocations: 98.4 MB / 0.6442 GB, free: 2.125 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.477, allocations: 79.95 kB / 0.6443 GB, free: 2.047 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4485/0.9256, allocations: 35.1 MB / 0.6785 GB, free: 105.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.9256, allocations: 0.8438 kB / 0.6785 GB, free: 105.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.469e-05/0.9257, allocations: 21.28 kB / 0.6786 GB, free: 105.6 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.004425/0.9301, allocations: 1.693 MB / 0.6802 GB, free: 104.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.9302, allocations: 15.91 kB / 0.6802 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002008/0.9304, allocations: 127.4 kB / 0.6804 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003571/0.934, allocations: 0.5555 MB / 0.6809 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/0.9356, allocations: 0.789 MB / 0.6817 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002413/0.9359, allocations: 233.5 kB / 0.6819 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.9361, allocations: 76.25 kB / 0.682 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.938, allocations: 0.9292 MB / 0.6829 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.938, allocations: 8.859 kB / 0.6829 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.742e-05/0.9381, allocations: 31.28 kB / 0.6829 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.9382, allocations: 21.28 kB / 0.6829 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/0.9398, allocations: 0.8335 MB / 0.6837 GB, free: 104.2 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.007683/0.9475, allocations: 3.836 MB / 0.6875 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006885/0.9544, allocations: 2.618 MB / 0.69 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009063/0.9554, allocations: 0.538 MB / 0.6906 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.9555, allocations: 16.48 kB / 0.6906 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.9555, allocations: 49.47 kB / 0.6906 GB, free: 102.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 3.407e-06/0.9555, allocations: 0 / 0.6906 GB, free: 102.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.01191/0.9675, allocations: 3.898 MB / 0.6944 GB, free: 102.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.9676, allocations: 138.8 kB / 0.6946 GB, free: 102 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.9689, allocations: 0.8721 MB / 0.6954 GB, free: 101.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002306/0.9692, allocations: 45.42 kB / 0.6955 GB, free: 101.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.9694, allocations: 0.505 MB / 0.696 GB, free: 101.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002973/0.9697, allocations: 334.4 kB / 0.6963 GB, free: 101 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/0.9698, allocations: 23.75 kB / 0.6963 GB, free: 101 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.861e-05/0.9699, allocations: 341.2 kB / 0.6966 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006897/0.9706, allocations: 438.7 kB / 0.697 GB, free: 100.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007463/0.9713, allocations: 0.5672 MB / 0.6976 GB, free: 100.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007924/0.9721, allocations: 0.5386 MB / 0.6981 GB, free: 99.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.9722, allocations: 3.812 kB / 0.6981 GB, free: 99.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01187/0.984, allocations: 4.051 MB / 0.7021 GB, free: 98.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002852/0.9844, allocations: 1.199 MB / 0.7033 GB, free: 97.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.9844, allocations: 3.344 kB / 0.7033 GB, free: 97.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005042/0.9894, allocations: 1.489 MB / 0.7047 GB, free: 97.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008854/0.9904, allocations: 165.6 kB / 0.7049 GB, free: 97.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01292/1.003, allocations: 6.521 MB / 0.7112 GB, free: 92.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002111/1.005, allocations: 195.5 kB / 0.7114 GB, free: 92.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/1.006, allocations: 35.66 kB / 0.7115 GB, free: 92.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/1.006, allocations: 10.28 kB / 0.7115 GB, free: 92.36 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01122/1.017, allocations: 3.938 MB / 0.7153 GB, free: 89.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.834e-05/1.017, allocations: 4 kB / 0.7153 GB, free: 89.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00484/1.022, allocations: 1.477 MB / 0.7168 GB, free: 88.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000869/1.023, allocations: 162.3 kB / 0.7169 GB, free: 87.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/1.035, allocations: 6.507 MB / 0.7233 GB, free: 82.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/1.037, allocations: 175.8 kB / 0.7234 GB, free: 81.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/1.037, allocations: 39.23 kB / 0.7235 GB, free: 81.88 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 84 * 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 {20 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003525/1.038, allocations: 194 kB / 0.7237 GB, free: 81.69 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003639/1.038, allocations: 122.5 kB / 0.7238 GB, free: 81.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01122/1.049, allocations: 4.003 MB / 0.7277 GB, free: 78.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/1.049, allocations: 15.94 kB / 0.7277 GB, free: 78.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/1.049, allocations: 8 kB / 0.7277 GB, free: 78.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.571e-05/1.049, allocations: 10.83 kB / 0.7277 GB, free: 78.4 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01362/1.063, allocations: 5.61 MB / 0.7332 GB, free: 73.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/1.063, allocations: 0 / 0.7332 GB, free: 73.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008834/1.064, allocations: 119.8 kB / 0.7333 GB, free: 73.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004242/1.068, allocations: 1.414 MB / 0.7347 GB, free: 71.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/1.068, allocations: 31.94 kB / 0.7347 GB, free: 71.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/1.079, allocations: 5.726 MB / 0.7403 GB, free: 65.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.079, allocations: 4 kB / 0.7403 GB, free: 65.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01268/1.092, allocations: 4.719 MB / 0.7449 GB, free: 60.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005379/1.092, allocations: 223.3 kB / 0.7451 GB, free: 60.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003168/1.093, allocations: 23.95 kB / 0.7452 GB, free: 60.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/1.094, allocations: 139.9 kB / 0.7453 GB, free: 60.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005409/1.095, allocations: 180.5 kB / 0.7455 GB, free: 60.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-05/1.095, allocations: 24 kB / 0.7455 GB, free: 60.35 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008888/1.096, allocations: 0.6776 MB / 0.7462 GB, free: 59.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.01e-07/1.096, allocations: 0 / 0.7462 GB, free: 59.66 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001923/1.098, allocations: 0.6709 MB / 0.7468 GB, free: 58.99 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeIchange1_1.firstOrder.y,aVRTypeIchange1_1.firstOrder2.y,aVRTypeIchange1_1.transferFunction.x_scaled[1],aVRTypeIchange1_1.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(19,24.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01276/1.11, allocations: 5.38 MB / 0.7521 GB, free: 53.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008831/1.119, allocations: 3.634 MB / 0.7556 GB, free: 49.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.119, allocations: 4 kB / 0.7556 GB, free: 49.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003559/1.123, allocations: 1.432 MB / 0.757 GB, free: 48.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009715/1.124, allocations: 113.5 kB / 0.7571 GB, free: 48.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003914/1.128, allocations: 1.987 MB / 0.7591 GB, free: 46.29 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005296/1.128, allocations: 1.15 MB / 0.7602 GB, free: 45.11 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008267/1.129, allocations: 205.3 kB / 0.7604 GB, free: 44.92 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004525/1.13, allocations: 451.3 kB / 0.7608 GB, free: 44.48 MB / 490.7 MB Notification: Performance of SimCode: time 1.252e-06/1.13, allocations: 0 / 0.7608 GB, free: 44.48 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05768/1.187, allocations: 37.81 MB / 0.7977 GB, free: 7.234 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/1.188, allocations: 196.3 kB / 0.7979 GB, free: 7.008 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.131/4.319, allocations: 0 / 0.7979 GB, free: 7.008 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)