Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.001005/0.001005, allocations: 98.48 kB / 280.5 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4322/0.4322, allocations: 78.12 MB / 409.4 MB, free: 6.473 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.613e-05/1.625e-05, allocations: 7.938 kB / 485 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1178, allocations: 69.36 MB / 0.5413 GB, free: 6.949 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3916/0.5094, allocations: 100.3 MB / 0.6393 GB, free: 15.39 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.5097, allocations: 72.56 kB / 0.6394 GB, free: 15.32 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2615/0.7712, allocations: 97.27 MB / 0.7344 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.724e-06/0.7712, allocations: 0.5625 kB / 0.7344 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003263/0.7716, allocations: 87.94 kB / 0.7344 GB, free: 13.59 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: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.02064/0.7922, allocations: 5.723 MB / 0.74 GB, free: 7.789 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.7923, allocations: 8.031 kB / 0.74 GB, free: 7.781 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03285/0.8251, allocations: 2.768 MB / 0.7427 GB, free: 5.004 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008493/0.8337, allocations: 2.27 MB / 0.745 GB, free: 2.656 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001563/0.8353, allocations: 0.8313 MB / 0.7458 GB, free: 1.695 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001608/0.8369, allocations: 200 kB / 0.746 GB, free: 1.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01188/0.8488, allocations: 3.435 MB / 0.7493 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01278/0.8616, allocations: 3.586 MB / 0.7528 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/0.8618, allocations: 3.938 kB / 0.7528 GB, free: 10.44 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007487/0.8626, allocations: 0 / 0.7528 GB, free: 10.44 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/0.8627, allocations: 84 kB / 0.7529 GB, free: 10.36 MB / 0.5573 GB 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.3466/1.209, allocations: 18.07 MB / 0.7705 GB, free: 86.8 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009161/1.218, allocations: 4.64 MB / 0.7751 GB, free: 86.37 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002962/1.221, allocations: 2.111 MB / 0.7771 GB, free: 86.34 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000435/1.222, allocations: 68.12 kB / 0.7772 GB, free: 86.34 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.998e-05/1.222, allocations: 72.09 kB / 0.7773 GB, free: 86.29 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=379): time 5.941e-06/1.222, allocations: 0 / 0.7773 GB, free: 86.29 MB / 0.5573 GB Notification: Performance of matching and sorting (n=379): time 0.05015/1.272, allocations: 17.15 MB / 0.794 GB, free: 85.79 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/1.272, allocations: 174.1 kB / 0.7942 GB, free: 85.62 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005276/1.278, allocations: 2.434 MB / 0.7966 GB, free: 85.35 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001221/1.279, allocations: 25.7 kB / 0.7966 GB, free: 85.32 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001443/1.28, allocations: 2.003 MB / 0.7985 GB, free: 84.89 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001605/1.282, allocations: 1.239 MB / 0.7998 GB, free: 84.23 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/1.282, allocations: 5.719 kB / 0.7998 GB, free: 84.23 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002095/1.282, allocations: 440.4 kB / 0.8002 GB, free: 83.92 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002915/1.285, allocations: 1.747 MB / 0.8019 GB, free: 83.91 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00328/1.289, allocations: 2.304 MB / 0.8041 GB, free: 83.35 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003438/1.292, allocations: 1.943 MB / 0.806 GB, free: 83.28 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-05/1.292, allocations: 4.625 kB / 0.806 GB, free: 83.28 MB / 0.5573 GB Notification: Performance of matching and sorting (n=456) (initialization): time 0.05079/1.343, allocations: 17.25 MB / 0.8229 GB, free: 82.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001262/1.344, allocations: 6.676 MB / 0.8294 GB, free: 75.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.548e-05/1.344, allocations: 14.22 kB / 0.8294 GB, free: 75.16 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02127/1.366, allocations: 6.845 MB / 0.8361 GB, free: 74.75 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002638/1.368, allocations: 0.538 MB / 0.8366 GB, free: 74.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04998/1.418, allocations: 25.05 MB / 0.8611 GB, free: 66.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005604/1.424, allocations: 0.6217 MB / 0.8617 GB, free: 66.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006103/1.424, allocations: 130.5 kB / 0.8618 GB, free: 66.17 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/1.425, allocations: 3.75 kB / 0.8618 GB, free: 66.17 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0458/1.47, allocations: 16.76 MB / 0.8782 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.659e-05/1.47, allocations: 15.59 kB / 0.8782 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02098/1.491, allocations: 6.85 MB / 0.8849 GB, free: 58.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002705/1.494, allocations: 0.5322 MB / 0.8854 GB, free: 57.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05316/1.547, allocations: 25.03 MB / 0.9099 GB, free: 35.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00639/1.554, allocations: 0.5954 MB / 0.9104 GB, free: 35.12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001117/1.555, allocations: 128.9 kB / 0.9106 GB, free: 35 MB / 0.5573 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.delta:VARIABLE(start = order3_1.delta0 unit = "rad" ) "Rotor angle" 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (320): * Single equations (assignments): 317 * 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 45} Notification: Performance of prepare postOptimizeDAE: time 0.001885/1.557, allocations: 211.6 kB / 0.9108 GB, free: 34.79 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001873/1.559, allocations: 447.9 kB / 0.9112 GB, free: 34.35 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04946/1.608, allocations: 17.59 MB / 0.9284 GB, free: 20.78 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.456e-05/1.608, allocations: 36.94 kB / 0.9284 GB, free: 20.75 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.114e-05/1.608, allocations: 35.94 kB / 0.9284 GB, free: 20.71 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001271/1.609, allocations: 18.77 kB / 0.9285 GB, free: 20.71 MB / 0.5573 GB 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.05712/1.666, allocations: 22.5 MB / 0.9504 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.062e-05/1.666, allocations: 6 kB / 0.9504 GB, free: 3.617 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002465/1.668, allocations: 403.4 kB / 0.9508 GB, free: 3.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02894/1.697, allocations: 7.465 MB / 0.9581 GB, free: 14.89 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001018/1.698, allocations: 20.48 kB / 0.9581 GB, free: 14.87 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05274/1.751, allocations: 22.28 MB / 0.9799 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/1.751, allocations: 0.6875 kB / 0.9799 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3762/2.127, allocations: 20.44 MB / 0.9998 GB, free: 108.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001832/2.129, allocations: 0.5494 MB / 1 GB, free: 108.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001678/2.131, allocations: 6.781 kB / 1 GB, free: 108.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00492/2.136, allocations: 431.3 kB / 1.001 GB, free: 108.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002688/2.138, allocations: 0.7629 MB / 1.002 GB, free: 108.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003731/2.139, allocations: 90.05 kB / 1.002 GB, free: 108.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002701/2.142, allocations: 1.809 MB / 1.003 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.5e-07/2.142, allocations: 0 / 1.003 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00913/2.151, allocations: 2.61 MB / 1.006 GB, free: 108.2 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 247 * 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.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006924/2.151, allocations: 156 kB / 1.006 GB, free: 108.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04209/2.194, allocations: 13.96 MB / 1.02 GB, free: 106.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/2.194, allocations: 0 / 1.02 GB, free: 106.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01889/2.212, allocations: 5.838 MB / 1.025 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003629/2.216, allocations: 245.8 kB / 1.026 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/2.231, allocations: 5.81 MB / 1.031 GB, free: 104.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002411/2.233, allocations: 2.586 MB / 1.034 GB, free: 103.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003259/2.236, allocations: 0.6034 MB / 1.034 GB, free: 103.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006866/2.237, allocations: 175.2 kB / 1.035 GB, free: 103.9 MB / 0.5886 GB Notification: Performance of SimCode: time 1.192e-06/2.237, allocations: 0.5625 kB / 1.035 GB, free: 103.9 MB / 0.5886 GB Notification: Performance of Templates: time 0.1523/2.389, allocations: 104 MB / 1.136 GB, free: 63.45 MB / 0.5886 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe 2>&1)