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.005543/0.005543, allocations: 169.5 kB / 15.11 MB, free: 5.984 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.24/1.24, allocations: 223.2 MB / 239 MB, free: 64 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.0008611/0.0008611, allocations: 100 kB / 290.2 MB, free: 4.566 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4459/0.4459, allocations: 78.58 MB / 419.9 MB, free: 36.43 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003346, allocations: 8 kB / 499.8 MB, free: 7.266 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1373, allocations: 69.36 MB / 0.5558 GB, free: 1.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3572/0.4945, allocations: 101 MB / 0.6545 GB, free: 1.246 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.4949, allocations: 83.73 kB / 0.6545 GB, free: 1.203 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2448/0.7396, allocations: 98.86 MB / 0.7511 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7397, allocations: 0 / 0.7511 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003255/0.74, allocations: 91.94 kB / 0.7512 GB, free: 14.31 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.01984/0.7599, allocations: 6.535 MB / 0.7576 GB, free: 7.688 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.7599, allocations: 8.031 kB / 0.7576 GB, free: 7.68 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01696/0.7769, allocations: 2.807 MB / 0.7603 GB, free: 4.863 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006078/0.783, allocations: 2.294 MB / 0.7625 GB, free: 2.492 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009086/0.7839, allocations: 0.9596 MB / 0.7635 GB, free: 1.402 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001018/0.785, allocations: 343.8 kB / 0.7638 GB, free: 1.066 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01086/0.7958, allocations: 4.942 MB / 0.7686 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.968e-05/0.796, allocations: 0 / 0.7686 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004441/0.7964, allocations: 140 kB / 0.7688 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.014e-05/0.7965, allocations: 84 kB / 0.7689 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0102/0.8067, allocations: 4.505 MB / 0.7733 GB, free: 7.355 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.03975/0.8465, allocations: 18.62 MB / 0.7914 GB, free: 3.543 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3503/1.197, allocations: 5.644 MB / 0.797 GB, free: 97.42 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009126/1.198, allocations: 70.27 kB / 0.797 GB, free: 97.41 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.543e-05/1.198, allocations: 77.84 kB / 0.7971 GB, free: 97.37 MB / 0.573 GB Notification: Performance of pre-optimization done (n=379): time 5.871e-06/1.198, allocations: 0 / 0.7971 GB, free: 97.37 MB / 0.573 GB Notification: Performance of matching and sorting (n=379): time 0.2905/1.488, allocations: 76.59 MB / 0.8719 GB, free: 93.97 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.521e-05/1.489, allocations: 170.8 kB / 0.8721 GB, free: 93.8 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004487/1.493, allocations: 2.702 MB / 0.8747 GB, free: 93.54 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001157/1.494, allocations: 94.7 kB / 0.8748 GB, free: 93.51 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001326/1.496, allocations: 1.985 MB / 0.8767 GB, free: 93.12 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001899/1.497, allocations: 1.287 MB / 0.878 GB, free: 92.46 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000291/1.498, allocations: 66.97 kB / 0.878 GB, free: 92.46 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001821/1.498, allocations: 439.4 kB / 0.8785 GB, free: 92.15 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005134/1.503, allocations: 2.653 MB / 0.881 GB, free: 92.1 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005801/1.509, allocations: 3.228 MB / 0.8842 GB, free: 91.48 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006042/1.515, allocations: 2.901 MB / 0.887 GB, free: 91.3 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.426e-05/1.515, allocations: 6.75 kB / 0.887 GB, free: 91.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=456) (initialization): time 0.05499/1.57, allocations: 20.1 MB / 0.9067 GB, free: 88.09 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001285/1.571, allocations: 6.672 MB / 0.9132 GB, free: 81.02 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.345e-05/1.571, allocations: 16 kB / 0.9132 GB, free: 81 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02608/1.598, allocations: 8.504 MB / 0.9215 GB, free: 75.44 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002969/1.601, allocations: 0.5357 MB / 0.922 GB, free: 75.02 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08201/1.683, allocations: 36.87 MB / 0.958 GB, free: 43.13 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005734/1.688, allocations: 0.6902 MB / 0.9587 GB, free: 42.52 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007508/1.689, allocations: 132 kB / 0.9588 GB, free: 42.39 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/1.689, allocations: 4 kB / 0.9588 GB, free: 42.38 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05107/1.74, allocations: 19.66 MB / 0.978 GB, free: 22.88 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.856e-05/1.74, allocations: 12 kB / 0.9781 GB, free: 22.87 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0246/1.765, allocations: 8.506 MB / 0.9864 GB, free: 14.36 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002752/1.768, allocations: 0.5305 MB / 0.9869 GB, free: 13.82 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4212/2.189, allocations: 36.85 MB / 1.023 GB, free: 97.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00608/2.195, allocations: 0.658 MB / 1.024 GB, free: 97.89 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004939/2.196, allocations: 133.4 kB / 1.024 GB, free: 97.89 MB / 0.5886 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.delta:VARIABLE(start = order3_1.delta0 unit = "rad" fixed = true ) "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 () * Number of clocked 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.002476/2.198, allocations: 0.7274 MB / 1.024 GB, free: 97.67 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001148/2.199, allocations: 462.3 kB / 1.025 GB, free: 97.61 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05832/2.258, allocations: 20.42 MB / 1.045 GB, free: 97.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-05/2.258, allocations: 39.91 kB / 1.045 GB, free: 97.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.93e-05/2.258, allocations: 27.34 kB / 1.045 GB, free: 97.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000113/2.258, allocations: 20.62 kB / 1.045 GB, free: 97.3 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.06769/2.326, allocations: 25.67 MB / 1.07 GB, free: 96.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.902e-05/2.326, allocations: 5.812 kB / 1.07 GB, free: 96.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002765/2.328, allocations: 405.9 kB / 1.07 GB, free: 96.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02621/2.355, allocations: 8.554 MB / 1.079 GB, free: 96.14 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001082/2.356, allocations: 70.12 kB / 1.079 GB, free: 96.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0734/2.429, allocations: 32.25 MB / 1.11 GB, free: 91.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/2.429, allocations: 0 / 1.11 GB, free: 91.91 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06066/2.49, allocations: 24.07 MB / 1.134 GB, free: 85.13 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001591/2.492, allocations: 0.5519 MB / 1.134 GB, free: 84.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001146/2.493, allocations: 67.95 kB / 1.134 GB, free: 84.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005046/2.498, allocations: 495.6 kB / 1.135 GB, free: 84.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003334/2.501, allocations: 0.7648 MB / 1.136 GB, free: 83.79 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004926/2.502, allocations: 91.8 kB / 1.136 GB, free: 83.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003151/2.505, allocations: 2.065 MB / 1.138 GB, free: 81.97 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.7e-07/2.505, allocations: 0 / 1.138 GB, free: 81.97 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01009/2.515, allocations: 2.869 MB / 1.14 GB, free: 79.23 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 () * Number of clocked 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.0007311/2.516, allocations: 222.7 kB / 1.141 GB, free: 79.05 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04351/2.559, allocations: 16.89 MB / 1.157 GB, free: 64.61 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/2.559, allocations: 4.25 kB / 1.157 GB, free: 64.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01888/2.578, allocations: 6.914 MB / 1.164 GB, free: 58.73 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003016/2.581, allocations: 307.2 kB / 1.164 GB, free: 58.44 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/2.595, allocations: 9.634 MB / 1.174 GB, free: 49.44 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001681/2.597, allocations: 2.584 MB / 1.176 GB, free: 47.52 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002118/2.599, allocations: 363.5 kB / 1.176 GB, free: 47.27 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007693/2.599, allocations: 197 kB / 1.177 GB, free: 47.1 MB / 0.5886 GB Notification: Performance of SimCode: time 1.343e-06/2.599, allocations: 0 / 1.177 GB, free: 47.1 MB / 0.5886 GB Notification: Performance of Templates: time 0.4495/3.049, allocations: 105.7 MB / 1.28 GB, free: 110 MB / 0.6042 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)