Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004658/0.004659, 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.261/1.261, allocations: 223.2 MB / 239 MB, free: 1.809 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.0008141/0.0008143, allocations: 92.91 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4765/0.4765, allocations: 78.58 MB / 419.9 MB, free: 44.29 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003988/0.0003988, allocations: 12 kB / 499.8 MB, free: 2.98 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3759, allocations: 69.35 MB / 0.5558 GB, free: 38.78 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/0.5014, allocations: 102.2 MB / 0.6556 GB, free: 4.344 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.5017, allocations: 87.73 kB / 0.6557 GB, free: 4.262 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.254/0.7557, allocations: 99.88 MB / 0.7532 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.625e-06/0.7558, allocations: 0 / 0.7532 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0005521/0.7563, allocations: 87.94 kB / 0.7533 GB, free: 15.65 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.02387/0.7802, allocations: 6.597 MB / 0.7597 GB, free: 8.961 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.7803, allocations: 8.031 kB / 0.7597 GB, free: 8.953 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0178/0.7981, allocations: 2.803 MB / 0.7625 GB, free: 6.141 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00793/0.8061, allocations: 2.333 MB / 0.7648 GB, free: 3.73 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00117/0.8073, allocations: 0.9556 MB / 0.7657 GB, free: 2.645 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001825/0.8091, allocations: 351.9 kB / 0.766 GB, free: 2.301 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3324/1.142, allocations: 4.946 MB / 0.7709 GB, free: 90.66 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.878e-05/1.142, allocations: 0.5 kB / 0.7709 GB, free: 90.66 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004133/1.142, allocations: 140.7 kB / 0.771 GB, free: 90.66 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.491e-05/1.142, allocations: 83.62 kB / 0.7711 GB, free: 90.66 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01214/1.154, allocations: 4.523 MB / 0.7755 GB, free: 90.62 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.03709/1.191, allocations: 18.69 MB / 0.7937 GB, free: 84.2 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01224/1.204, allocations: 5.668 MB / 0.7993 GB, free: 83.75 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007378/1.204, allocations: 66.33 kB / 0.7993 GB, free: 83.74 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/1.205, allocations: 77.03 kB / 0.7994 GB, free: 83.7 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=381): time 6.031e-06/1.205, allocations: 0 / 0.7994 GB, free: 83.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=381): time 0.29/1.495, allocations: 78.5 MB / 0.8761 GB, free: 79.64 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.251e-05/1.495, allocations: 167.4 kB / 0.8762 GB, free: 79.48 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004275/1.499, allocations: 2.736 MB / 0.8789 GB, free: 78.41 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001107/1.5, allocations: 86.52 kB / 0.879 GB, free: 78.37 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001366/1.502, allocations: 2.006 MB / 0.8809 GB, free: 77.69 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002071/1.504, allocations: 1.297 MB / 0.8822 GB, free: 76.86 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003291/1.504, allocations: 71.56 kB / 0.8823 GB, free: 76.84 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001933/1.504, allocations: 439.1 kB / 0.8827 GB, free: 76.51 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00537/1.51, allocations: 2.664 MB / 0.8853 GB, free: 74.71 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005302/1.515, allocations: 3.242 MB / 0.8885 GB, free: 71.65 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005378/1.52, allocations: 2.92 MB / 0.8913 GB, free: 68.91 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/1.52, allocations: 4 kB / 0.8913 GB, free: 68.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=460) (initialization): time 0.05315/1.573, allocations: 20.13 MB / 0.911 GB, free: 48.97 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001806/1.575, allocations: 6.681 MB / 0.9175 GB, free: 41.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-05/1.575, allocations: 14.16 kB / 0.9175 GB, free: 41.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02525/1.601, allocations: 8.469 MB / 0.9258 GB, free: 33.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003288/1.604, allocations: 0.564 MB / 0.9263 GB, free: 32.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08105/1.685, allocations: 36.71 MB / 0.9622 GB, free: 11.96 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006404/1.691, allocations: 0.703 MB / 0.9629 GB, free: 11.26 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008857/1.692, allocations: 136 kB / 0.963 GB, free: 11.13 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/1.692, allocations: 5.406 kB / 0.963 GB, free: 11.12 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05602/1.748, allocations: 19.69 MB / 0.9822 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.947e-05/1.749, allocations: 16 kB / 0.9823 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3589/2.107, allocations: 8.465 MB / 0.9905 GB, free: 97.63 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003545/2.111, allocations: 0.5509 MB / 0.9911 GB, free: 97.63 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0903/2.201, allocations: 36.69 MB / 1.027 GB, free: 96.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006756/2.208, allocations: 0.6663 MB / 1.028 GB, free: 95.94 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001306/2.209, allocations: 128.8 kB / 1.028 GB, free: 95.94 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.003045/2.213, allocations: 0.7247 MB / 1.028 GB, free: 95.72 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001983/2.215, allocations: 458.4 kB / 1.029 GB, free: 95.48 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05953/2.274, allocations: 20.46 MB / 1.049 GB, free: 95.15 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.083e-05/2.274, allocations: 34.84 kB / 1.049 GB, free: 95.15 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.735e-05/2.274, allocations: 28.5 kB / 1.049 GB, free: 95.15 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001088/2.274, allocations: 17.16 kB / 1.049 GB, free: 95.15 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.06307/2.337, allocations: 25.74 MB / 1.074 GB, free: 90.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.859e-05/2.337, allocations: 0 / 1.074 GB, free: 90.19 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002553/2.34, allocations: 407.1 kB / 1.074 GB, free: 90.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02448/2.365, allocations: 8.546 MB / 1.083 GB, free: 88.77 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001084/2.366, allocations: 74.95 kB / 1.083 GB, free: 88.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06888/2.435, allocations: 32.23 MB / 1.114 GB, free: 75.29 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/2.435, allocations: 9.922 kB / 1.114 GB, free: 75.29 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06119/2.496, allocations: 24.12 MB / 1.138 GB, free: 55.86 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001731/2.498, allocations: 0.5575 MB / 1.138 GB, free: 55.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001387/2.499, allocations: 60 kB / 1.138 GB, free: 55.31 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004537/2.504, allocations: 497.5 kB / 1.139 GB, free: 54.93 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002872/2.506, allocations: 0.7708 MB / 1.14 GB, free: 54.51 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003445/2.507, allocations: 94.77 kB / 1.14 GB, free: 54.43 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002898/2.51, allocations: 2.094 MB / 1.142 GB, free: 52.68 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.6e-07/2.51, allocations: 0 / 1.142 GB, free: 52.68 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.008071/2.518, allocations: 2.877 MB / 1.145 GB, free: 49.93 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.0006065/2.518, allocations: 220.5 kB / 1.145 GB, free: 49.74 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04366/2.562, allocations: 16.92 MB / 1.161 GB, free: 35.23 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/2.562, allocations: 0 / 1.161 GB, free: 35.23 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01896/2.581, allocations: 6.926 MB / 1.168 GB, free: 29.32 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002981/2.584, allocations: 312 kB / 1.168 GB, free: 29.03 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01505/2.599, allocations: 9.813 MB / 1.178 GB, free: 19.84 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001826/2.601, allocations: 2.59 MB / 1.181 GB, free: 17.92 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002489/2.604, allocations: 358.7 kB / 1.181 GB, free: 17.68 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008194/2.604, allocations: 201.2 kB / 1.181 GB, free: 17.5 MB / 0.5886 GB Notification: Performance of SimCode: time 1.042e-06/2.604, allocations: 0 / 1.181 GB, free: 17.5 MB / 0.5886 GB Notification: Performance of Templates: time 0.4213/3.026, allocations: 106 MB / 1.285 GB, free: 116.1 MB / 0.6042 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe 2>&1)