Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_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.006361/0.006361, allocations: 172 kB / 15.11 MB, free: 5.98 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.419/1.419, allocations: 223.2 MB / 239 MB, free: 88 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009189/0.000919, allocations: 96.92 kB / 290.2 MB, free: 4.539 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5507/0.5507, allocations: 79.44 MB / 420.8 MB, free: 36.27 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003869, allocations: 12 kB / 0.4891 GB, free: 6.289 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1552, allocations: 69.52 MB / 0.557 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4551/0.6103, allocations: 102.9 MB / 0.6575 GB, free: 14.34 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.6106, allocations: 88.48 kB / 0.6576 GB, free: 14.26 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2564/0.867, allocations: 101.8 MB / 0.757 GB, free: 8.047 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.926e-06/0.8671, allocations: 0 / 0.757 GB, free: 8.047 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.000375/0.8675, allocations: 91.88 kB / 0.7571 GB, free: 7.957 MB / 0.5417 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.02374/0.8912, allocations: 6.628 MB / 0.7635 GB, free: 1.238 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.8913, allocations: 12.03 kB / 0.7635 GB, free: 1.227 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00228/0.8936, allocations: 488.8 kB / 0.764 GB, free: 0.7383 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01799/0.9116, allocations: 2.807 MB / 0.7668 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008527/0.9202, allocations: 2.329 MB / 0.769 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001234/0.9215, allocations: 0.9595 MB / 0.77 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002201/0.9237, allocations: 343.9 kB / 0.7703 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0126/0.9363, allocations: 4.958 MB / 0.7751 GB, free: 5.098 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.738e-05/0.9364, allocations: 0 / 0.7751 GB, free: 5.098 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004053/0.9369, allocations: 140 kB / 0.7753 GB, free: 4.961 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.2e-05/0.9369, allocations: 84 kB / 0.7753 GB, free: 4.879 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01043/0.9474, allocations: 4.521 MB / 0.7798 GB, free: 360 kB / 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.3996/1.347, allocations: 18.7 MB / 0.798 GB, free: 91.34 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01402/1.361, allocations: 5.667 MB / 0.8036 GB, free: 90.89 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000858/1.362, allocations: 72.8 kB / 0.8036 GB, free: 90.89 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.297e-05/1.362, allocations: 70.55 kB / 0.8037 GB, free: 90.85 MB / 0.573 GB Notification: Performance of pre-optimization done (n=381): time 5.63e-06/1.362, allocations: 3.719 kB / 0.8037 GB, free: 90.85 MB / 0.573 GB Notification: Performance of matching and sorting (n=381): time 0.3084/1.671, allocations: 78.5 MB / 0.8804 GB, free: 87.32 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.958e-05/1.671, allocations: 175.1 kB / 0.8805 GB, free: 87.15 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00481/1.676, allocations: 2.739 MB / 0.8832 GB, free: 86.89 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001146/1.677, allocations: 88.33 kB / 0.8833 GB, free: 86.86 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001308/1.678, allocations: 1.997 MB / 0.8852 GB, free: 86.45 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001978/1.68, allocations: 1.298 MB / 0.8865 GB, free: 85.79 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002913/1.68, allocations: 71.66 kB / 0.8866 GB, free: 85.79 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002031/1.68, allocations: 448 kB / 0.887 GB, free: 85.47 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005206/1.686, allocations: 2.665 MB / 0.8896 GB, free: 85.42 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005326/1.691, allocations: 3.244 MB / 0.8928 GB, free: 84.8 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005477/1.697, allocations: 2.912 MB / 0.8956 GB, free: 84.62 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-05/1.697, allocations: 7.344 kB / 0.8956 GB, free: 84.62 MB / 0.573 GB Notification: Performance of matching and sorting (n=460) (initialization): time 0.05567/1.752, allocations: 20.12 MB / 0.9153 GB, free: 80.07 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002011/1.754, allocations: 6.688 MB / 0.9218 GB, free: 73 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.129e-05/1.754, allocations: 12 kB / 0.9218 GB, free: 72.98 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02627/1.781, allocations: 8.464 MB / 0.9301 GB, free: 67.45 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003402/1.784, allocations: 0.5592 MB / 0.9306 GB, free: 67.01 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08158/1.866, allocations: 36.72 MB / 0.9665 GB, free: 32.83 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00674/1.873, allocations: 0.7156 MB / 0.9672 GB, free: 32.19 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009886/1.874, allocations: 128 kB / 0.9673 GB, free: 32.06 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/1.874, allocations: 4 kB / 0.9673 GB, free: 32.06 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05258/1.926, allocations: 19.69 MB / 0.9865 GB, free: 12.53 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.827e-05/1.926, allocations: 18.19 kB / 0.9866 GB, free: 12.51 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02529/1.952, allocations: 8.469 MB / 0.9948 GB, free: 4.031 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003184/1.955, allocations: 0.5498 MB / 0.9954 GB, free: 3.508 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4255/2.38, allocations: 36.7 MB / 1.031 GB, free: 93.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006426/2.387, allocations: 0.6746 MB / 1.032 GB, free: 93.29 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008215/2.388, allocations: 129 kB / 1.032 GB, free: 93.29 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.002317/2.39, allocations: 0.741 MB / 1.033 GB, free: 93.07 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001345/2.391, allocations: 460 kB / 1.033 GB, free: 92.89 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05678/2.448, allocations: 20.45 MB / 1.053 GB, free: 92.55 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.851e-05/2.448, allocations: 40.83 kB / 1.053 GB, free: 92.55 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.481e-05/2.448, allocations: 27.31 kB / 1.053 GB, free: 92.55 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000116/2.448, allocations: 21.39 kB / 1.053 GB, free: 92.55 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.07235/2.521, allocations: 25.73 MB / 1.078 GB, free: 91.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-05/2.521, allocations: 0 / 1.078 GB, free: 91.58 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002614/2.523, allocations: 407.5 kB / 1.079 GB, free: 91.58 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02538/2.549, allocations: 8.549 MB / 1.087 GB, free: 91.21 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001255/2.55, allocations: 69.41 kB / 1.087 GB, free: 91.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07344/2.624, allocations: 32.23 MB / 1.119 GB, free: 84 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/2.624, allocations: 5.438 kB / 1.119 GB, free: 84 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06283/2.687, allocations: 24.12 MB / 1.142 GB, free: 74.95 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001771/2.688, allocations: 0.5551 MB / 1.143 GB, free: 74.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001333/2.69, allocations: 67.95 kB / 1.143 GB, free: 74.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004561/2.694, allocations: 0.5019 MB / 1.143 GB, free: 74 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00287/2.697, allocations: 0.7628 MB / 1.144 GB, free: 73.59 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000376/2.698, allocations: 96.83 kB / 1.144 GB, free: 73.5 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00302/2.701, allocations: 2.096 MB / 1.146 GB, free: 71.75 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.3e-07/2.701, allocations: 0 / 1.146 GB, free: 71.75 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.009592/2.71, allocations: 2.88 MB / 1.149 GB, free: 69 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.06237/2.773, allocations: 24.86 MB / 1.173 GB, free: 48.88 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04652/2.819, allocations: 16.93 MB / 1.19 GB, free: 34.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/2.819, allocations: 0 / 1.19 GB, free: 34.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01964/2.839, allocations: 6.912 MB / 1.197 GB, free: 28.41 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004358/2.843, allocations: 310.9 kB / 1.197 GB, free: 28.12 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02018/2.864, allocations: 21.28 MB / 1.218 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001861/2.865, allocations: 2.59 MB / 1.22 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001989/2.867, allocations: 367.1 kB / 1.22 GB, free: 5.145 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002003/2.869, allocations: 1.967 MB / 1.222 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of SimCode: time 2.164e-06/2.869, allocations: 4 kB / 1.222 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5434/3.413, allocations: 140 MB / 1.359 GB, free: 95.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/3.413, allocations: 209.8 kB / 1.359 GB, free: 95.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.558/10.97, allocations: 0 / 1.359 GB, free: 95.48 MB / 0.6042 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe 2>&1)