Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001215/0.001216, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.3 MB / 213.4 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009008/0.0009007, allocations: 89.16 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06896/0.06896, allocations: 12.6 MB / 322 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2985/0.2985, allocations: 78.06 MB / 450.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.101e-05/2.104e-05, allocations: 4 kB / 0.5147 GB, free: 29.59 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1285, allocations: 69.32 MB / 0.5824 GB, free: 8.391 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.425/0.5536, allocations: 101.9 MB / 0.6819 GB, free: 6.098 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.5539, allocations: 81.75 kB / 0.682 GB, free: 6.055 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2445/0.7984, allocations: 94.24 MB / 0.774 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7984, allocations: 0 / 0.774 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003756/0.7988, allocations: 84 kB / 0.7741 GB, free: 2.289 MB / 0.4948 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.01897/0.8178, allocations: 5.736 MB / 0.7797 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.08e-05/0.8179, allocations: 8.031 kB / 0.7797 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01803/0.8359, allocations: 2.776 MB / 0.7824 GB, free: 9.684 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006458/0.8424, allocations: 2.247 MB / 0.7846 GB, free: 7.359 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001153/0.8436, allocations: 0.8384 MB / 0.7855 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001438/0.8451, allocations: 207.9 kB / 0.7857 GB, free: 6.188 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008791/0.8539, allocations: 3.435 MB / 0.789 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01125/0.8652, allocations: 3.579 MB / 0.7925 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001228/0.8653, allocations: 7.953 kB / 0.7925 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008646/0.8662, allocations: 4 kB / 0.7925 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.79e-05/0.8663, allocations: 84 kB / 0.7926 GB, free: 15.05 MB / 0.5261 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.04026/0.9066, allocations: 18.07 MB / 0.8102 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01122/0.9178, allocations: 4.643 MB / 0.8148 GB, free: 7.086 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004065/0.9219, allocations: 2.116 MB / 0.8168 GB, free: 4.961 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006862/0.9226, allocations: 67.83 kB / 0.8169 GB, free: 4.895 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.449e-05/0.9227, allocations: 73.53 kB / 0.817 GB, free: 4.812 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=379): time 9.648e-06/0.9228, allocations: 0 / 0.817 GB, free: 4.812 MB / 0.5417 GB Notification: Performance of matching and sorting (n=379): time 0.05609/0.9789, allocations: 17.15 MB / 0.8337 GB, free: 3.605 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.979, allocations: 167.5 kB / 0.8339 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004937/0.984, allocations: 2.444 MB / 0.8363 GB, free: 0.9531 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008924/0.9849, allocations: 25.7 kB / 0.8363 GB, free: 0.9219 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001714/0.9866, allocations: 2.002 MB / 0.8383 GB, free: 14.9 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001998/0.9886, allocations: 1.247 MB / 0.8395 GB, free: 13.63 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007081/0.9893, allocations: 4 kB / 0.8395 GB, free: 13.63 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003364/0.9897, allocations: 441.4 kB / 0.8399 GB, free: 13.19 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003521/0.9932, allocations: 1.749 MB / 0.8416 GB, free: 11.44 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003805/0.997, allocations: 2.309 MB / 0.8439 GB, free: 8.93 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003604/1.001, allocations: 1.937 MB / 0.8458 GB, free: 6.98 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.072e-05/1.001, allocations: 4 kB / 0.8458 GB, free: 6.977 MB / 0.573 GB Notification: Performance of matching and sorting (n=456) (initialization): time 0.05525/1.056, allocations: 17.24 MB / 0.8626 GB, free: 5.691 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.3044/1.36, allocations: 6.666 MB / 0.8691 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.718e-05/1.361, allocations: 15.16 kB / 0.8691 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02381/1.384, allocations: 6.846 MB / 0.8758 GB, free: 128 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003026/1.387, allocations: 0.539 MB / 0.8763 GB, free: 128 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05557/1.443, allocations: 25.06 MB / 0.9008 GB, free: 126.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005665/1.449, allocations: 0.612 MB / 0.9014 GB, free: 126.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006818/1.449, allocations: 130.5 kB / 0.9015 GB, free: 126.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/1.449, allocations: 8.25 kB / 0.9015 GB, free: 126.4 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04591/1.495, allocations: 16.77 MB / 0.9179 GB, free: 126.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.23e-05/1.496, allocations: 13.28 kB / 0.9179 GB, free: 126.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02084/1.516, allocations: 6.844 MB / 0.9246 GB, free: 126.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00283/1.519, allocations: 0.5285 MB / 0.9251 GB, free: 126.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05014/1.569, allocations: 25.04 MB / 0.9496 GB, free: 115.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005546/1.575, allocations: 0.5889 MB / 0.9501 GB, free: 115.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005828/1.576, allocations: 133.7 kB / 0.9503 GB, free: 115.5 MB / 0.5886 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.0009359/1.577, allocations: 199 kB / 0.9505 GB, free: 115.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009506/1.578, allocations: 459.3 kB / 0.9509 GB, free: 115.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.046/1.624, allocations: 17.59 MB / 0.9681 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.482e-05/1.624, allocations: 43.84 kB / 0.9681 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.894e-05/1.624, allocations: 32 kB / 0.9681 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.133e-05/1.624, allocations: 17.34 kB / 0.9682 GB, free: 107.5 MB / 0.5886 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.05471/1.678, allocations: 22.5 MB / 0.9901 GB, free: 90.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.188e-05/1.679, allocations: 0 / 0.9901 GB, free: 90.55 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002422/1.681, allocations: 405.7 kB / 0.9905 GB, free: 90.22 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02118/1.702, allocations: 6.91 MB / 0.9973 GB, free: 84.87 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001394/1.704, allocations: 15.8 kB / 0.9973 GB, free: 84.86 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04581/1.749, allocations: 22.28 MB / 1.019 GB, free: 65.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.749, allocations: 0 / 1.019 GB, free: 65.21 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05191/1.801, allocations: 20.43 MB / 1.039 GB, free: 48.48 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/1.803, allocations: 0.5503 MB / 1.04 GB, free: 48 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001174/1.804, allocations: 8 kB / 1.04 GB, free: 47.99 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004534/1.809, allocations: 427.9 kB / 1.04 GB, free: 47.67 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002467/1.811, allocations: 0.7666 MB / 1.041 GB, free: 47.26 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003108/1.812, allocations: 91.89 kB / 1.041 GB, free: 47.17 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002409/1.814, allocations: 1.807 MB / 1.043 GB, free: 45.52 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.2e-07/1.814, allocations: 4 kB / 1.043 GB, free: 45.52 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.007732/1.822, allocations: 2.613 MB / 1.045 GB, free: 43.04 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.0006204/1.822, allocations: 153.6 kB / 1.045 GB, free: 42.89 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03739/1.86, allocations: 13.96 MB / 1.059 GB, free: 30.29 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/1.86, allocations: 2.5 kB / 1.059 GB, free: 30.29 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01745/1.877, allocations: 5.843 MB / 1.065 GB, free: 25.14 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003062/1.88, allocations: 242.3 kB / 1.065 GB, free: 24.91 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/1.891, allocations: 5.805 MB / 1.07 GB, free: 19.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001663/1.893, allocations: 2.588 MB / 1.073 GB, free: 17.45 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003221/1.896, allocations: 0.609 MB / 1.074 GB, free: 16.86 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006342/1.897, allocations: 171.4 kB / 1.074 GB, free: 16.69 MB / 0.5886 GB Notification: Performance of SimCode: time 8.92e-07/1.897, allocations: 0 / 1.074 GB, free: 16.69 MB / 0.5886 GB Notification: Performance of Templates: time 0.4272/2.324, allocations: 104.1 MB / 1.175 GB, free: 113.6 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe 2>&1)