Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.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.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_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.009233/0.009233, allocations: 169.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.471/1.471, 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.001136/0.001136, allocations: 95.77 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.4548/0.4548, allocations: 78.52 MB / 419.8 MB, free: 44.04 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003597, allocations: 12 kB / 499.8 MB, free: 2.652 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3674, allocations: 69.34 MB / 0.5558 GB, free: 38.77 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1264/0.4939, allocations: 102.2 MB / 0.6556 GB, free: 4.156 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.4942, allocations: 79.95 kB / 0.6557 GB, free: 4.078 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2496/0.7438, allocations: 99.89 MB / 0.7532 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.575e-06/0.7438, allocations: 0 / 0.7532 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002616/0.7441, allocations: 87.94 kB / 0.7533 GB, free: 15.45 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: 891 * Number of variables: 891 Notification: Performance of Generate backend data structure: time 0.0213/0.7654, allocations: 6.593 MB / 0.7598 GB, free: 8.77 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.7655, allocations: 12.03 kB / 0.7598 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001732/0.7672, allocations: 488.8 kB / 0.7602 GB, free: 8.27 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01675/0.784, allocations: 2.807 MB / 0.763 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005825/0.7899, allocations: 2.325 MB / 0.7653 GB, free: 3.051 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009205/0.7908, allocations: 0.9556 MB / 0.7662 GB, free: 1.965 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001098/0.7919, allocations: 347.9 kB / 0.7665 GB, free: 1.625 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2924/1.084, allocations: 4.947 MB / 0.7714 GB, free: 89.3 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-05/1.084, allocations: 1.062 kB / 0.7714 GB, free: 89.3 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000399/1.085, allocations: 143.2 kB / 0.7715 GB, free: 89.3 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.557e-05/1.085, allocations: 87.81 kB / 0.7716 GB, free: 89.3 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009977/1.095, allocations: 4.515 MB / 0.776 GB, free: 89.27 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.03233/1.127, allocations: 18.69 MB / 0.7942 GB, free: 82.85 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0118/1.139, allocations: 5.665 MB / 0.7998 GB, free: 82.4 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004961/1.14, allocations: 69.39 kB / 0.7998 GB, free: 82.4 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/1.14, allocations: 75.36 kB / 0.7999 GB, free: 82.36 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=381): time 5.911e-06/1.14, allocations: 2.906 kB / 0.7999 GB, free: 82.36 MB / 0.5573 GB Notification: Performance of matching and sorting (n=381): time 0.2849/1.425, allocations: 78.5 MB / 0.8766 GB, free: 78.14 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.613e-05/1.425, allocations: 180.5 kB / 0.8767 GB, free: 77.94 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004329/1.429, allocations: 2.738 MB / 0.8794 GB, free: 76.3 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.00115/1.43, allocations: 85.77 kB / 0.8795 GB, free: 76.26 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001402/1.432, allocations: 1.995 MB / 0.8814 GB, free: 75.59 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001954/1.434, allocations: 1.299 MB / 0.8827 GB, free: 74.76 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003078/1.434, allocations: 68.44 kB / 0.8828 GB, free: 74.75 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001889/1.434, allocations: 443.2 kB / 0.8832 GB, free: 74.41 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004912/1.439, allocations: 2.66 MB / 0.8858 GB, free: 72.46 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005351/1.445, allocations: 3.249 MB / 0.889 GB, free: 69.39 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005228/1.45, allocations: 2.912 MB / 0.8918 GB, free: 66.67 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/1.45, allocations: 4 kB / 0.8918 GB, free: 66.67 MB / 0.5573 GB Notification: Performance of matching and sorting (n=460) (initialization): time 0.05234/1.502, allocations: 20.13 MB / 0.9115 GB, free: 46.85 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001468/1.504, allocations: 6.682 MB / 0.918 GB, free: 39.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.184e-05/1.504, allocations: 16 kB / 0.918 GB, free: 39.64 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02521/1.529, allocations: 8.467 MB / 0.9263 GB, free: 31.17 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003124/1.532, allocations: 0.5634 MB / 0.9268 GB, free: 30.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08733/1.62, allocations: 36.73 MB / 0.9627 GB, free: 9.836 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006422/1.626, allocations: 0.6918 MB / 0.9634 GB, free: 9.141 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001092/1.627, allocations: 132 kB / 0.9635 GB, free: 9.012 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/1.627, allocations: 4.938 kB / 0.9635 GB, free: 9.008 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05849/1.686, allocations: 19.69 MB / 0.9827 GB, free: 5.328 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.815e-05/1.686, allocations: 12 kB / 0.9827 GB, free: 5.316 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3583/2.044, allocations: 8.465 MB / 0.991 GB, free: 96.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003563/2.048, allocations: 0.5544 MB / 0.9915 GB, free: 96.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09349/2.141, allocations: 36.7 MB / 1.027 GB, free: 95.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006802/2.148, allocations: 0.6616 MB / 1.028 GB, free: 95.01 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00133/2.149, allocations: 132.9 kB / 1.028 GB, free: 95.01 MB / 0.5886 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 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 order5.e1q:VARIABLE(start = order5.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (326): * Single equations (assignments): 323 * 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 {92 43} Notification: Performance of prepare postOptimizeDAE: time 0.003928/2.153, allocations: 0.7342 MB / 1.029 GB, free: 94.79 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002136/2.155, allocations: 459 kB / 1.029 GB, free: 94.55 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06406/2.22, allocations: 20.46 MB / 1.049 GB, free: 94.22 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.945e-05/2.22, allocations: 41.06 kB / 1.049 GB, free: 94.22 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001156/2.22, allocations: 27.06 kB / 1.049 GB, free: 94.22 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001256/2.22, allocations: 17.06 kB / 1.049 GB, free: 94.22 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.06781/2.288, allocations: 25.73 MB / 1.075 GB, free: 89.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.468e-05/2.288, allocations: 0 / 1.075 GB, free: 89.17 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002522/2.29, allocations: 409.1 kB / 1.075 GB, free: 89.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02606/2.316, allocations: 8.545 MB / 1.083 GB, free: 87.75 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001134/2.318, allocations: 70.61 kB / 1.083 GB, free: 87.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07313/2.391, allocations: 32.23 MB / 1.115 GB, free: 72.47 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/2.391, allocations: 4 kB / 1.115 GB, free: 72.46 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06197/2.453, allocations: 24.11 MB / 1.138 GB, free: 53.04 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001604/2.454, allocations: 0.5562 MB / 1.139 GB, free: 52.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001342/2.456, allocations: 64 kB / 1.139 GB, free: 52.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004572/2.46, allocations: 0.491 MB / 1.139 GB, free: 52.11 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003006/2.463, allocations: 0.7641 MB / 1.14 GB, free: 51.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006757/2.464, allocations: 95.66 kB / 1.14 GB, free: 51.61 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003857/2.468, allocations: 2.089 MB / 1.142 GB, free: 49.86 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.21e-07/2.468, allocations: 0 / 1.142 GB, free: 49.86 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01442/2.482, allocations: 2.884 MB / 1.145 GB, free: 47.11 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,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 249 * 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 {(100,5.4%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06205/2.545, allocations: 24.86 MB / 1.169 GB, free: 26.95 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04471/2.589, allocations: 16.94 MB / 1.186 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/2.589, allocations: 0 / 1.186 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01982/2.609, allocations: 6.912 MB / 1.193 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003621/2.613, allocations: 316.5 kB / 1.193 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03202/2.645, allocations: 21.55 MB / 1.214 GB, free: 1.887 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2867/2.932, allocations: 2.599 MB / 1.217 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002709/2.934, allocations: 361 kB / 1.217 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003374/2.938, allocations: 1.965 MB / 1.219 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of SimCode: time 1.563e-06/2.938, allocations: 0 / 1.219 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2154/3.153, allocations: 139.8 MB / 1.355 GB, free: 77.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001541/3.153, allocations: 208.9 kB / 1.356 GB, free: 77.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.453/10.61, allocations: 0 / 1.356 GB, free: 77.33 MB / 0.6042 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe 2>&1)