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: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001074/0.001074, allocations: 173.9 kB / 7.648 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.366/1.366, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.0008601/0.0008601, allocations: 91.28 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.5119/0.5119, allocations: 78.94 MB / 410.2 MB, free: 6.031 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.445e-05/1.446e-05, allocations: 4 kB / 485.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.129, allocations: 69.51 MB / 0.5424 GB, free: 5.922 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4268/0.5558, allocations: 102.1 MB / 0.6422 GB, free: 12 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.5561, allocations: 83.75 kB / 0.6423 GB, free: 11.93 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2551/0.8112, allocations: 100.2 MB / 0.7401 GB, free: 7.359 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8113, allocations: 0 / 0.7401 GB, free: 7.359 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002749/0.8116, allocations: 87.94 kB / 0.7402 GB, free: 7.273 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.0192/0.8308, allocations: 5.762 MB / 0.7458 GB, free: 1.434 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.8308, allocations: 8.031 kB / 0.7458 GB, free: 1.426 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01864/0.8495, allocations: 2.776 MB / 0.7485 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00685/0.8564, allocations: 2.286 MB / 0.7508 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001016/0.8575, allocations: 0.8385 MB / 0.7516 GB, free: 11.31 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001139/0.8586, allocations: 203.9 kB / 0.7518 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007373/0.866, allocations: 3.447 MB / 0.7551 GB, free: 7.66 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007272/0.8733, allocations: 3.595 MB / 0.7586 GB, free: 4.035 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.88e-05/0.8734, allocations: 6.438 kB / 0.7586 GB, free: 4.031 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003345/0.8737, allocations: 3.938 kB / 0.7587 GB, free: 4.027 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.91e-05/0.8738, allocations: 84 kB / 0.7587 GB, free: 3.945 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.3503/1.224, allocations: 18.16 MB / 0.7765 GB, free: 85.74 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009852/1.234, allocations: 4.662 MB / 0.781 GB, free: 85.3 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003697/1.238, allocations: 2.122 MB / 0.7831 GB, free: 85.27 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004883/1.238, allocations: 72.06 kB / 0.7832 GB, free: 85.27 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/1.238, allocations: 78.2 kB / 0.7832 GB, free: 85.23 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=381): time 6.312e-06/1.238, allocations: 0 / 0.7832 GB, free: 85.23 MB / 0.5573 GB Notification: Performance of matching and sorting (n=381): time 0.05164/1.29, allocations: 17.17 MB / 0.8 GB, free: 84.37 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.632e-05/1.29, allocations: 170.9 kB / 0.8002 GB, free: 84.21 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004364/1.294, allocations: 2.466 MB / 0.8026 GB, free: 83.93 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001261/1.296, allocations: 27.05 kB / 0.8026 GB, free: 83.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00159/1.297, allocations: 2.011 MB / 0.8046 GB, free: 83.47 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001951/1.299, allocations: 1.25 MB / 0.8058 GB, free: 82.8 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003055/1.3, allocations: 1.375 kB / 0.8058 GB, free: 82.8 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000227/1.3, allocations: 444.4 kB / 0.8062 GB, free: 82.49 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002926/1.303, allocations: 1.759 MB / 0.8079 GB, free: 82.48 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003258/1.306, allocations: 2.317 MB / 0.8102 GB, free: 81.93 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003421/1.309, allocations: 1.96 MB / 0.8121 GB, free: 81.85 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.286e-05/1.309, allocations: 4 kB / 0.8121 GB, free: 81.85 MB / 0.5573 GB Notification: Performance of matching and sorting (n=460) (initialization): time 0.04967/1.359, allocations: 17.27 MB / 0.829 GB, free: 80.77 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001214/1.36, allocations: 6.679 MB / 0.8355 GB, free: 73.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.44e-05/1.36, allocations: 16.56 kB / 0.8355 GB, free: 73.73 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0214/1.382, allocations: 6.815 MB / 0.8422 GB, free: 73.33 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003128/1.385, allocations: 0.5619 MB / 0.8427 GB, free: 73.33 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05349/1.439, allocations: 24.92 MB / 0.8671 GB, free: 63.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00674/1.445, allocations: 0.6367 MB / 0.8677 GB, free: 63.53 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001116/1.447, allocations: 135.4 kB / 0.8678 GB, free: 63.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/1.447, allocations: 3.25 kB / 0.8678 GB, free: 63.5 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04731/1.494, allocations: 16.78 MB / 0.8842 GB, free: 58.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-05/1.494, allocations: 19.19 kB / 0.8842 GB, free: 58 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02179/1.516, allocations: 6.815 MB / 0.8909 GB, free: 52.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003247/1.519, allocations: 0.5544 MB / 0.8914 GB, free: 52.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05309/1.572, allocations: 24.92 MB / 0.9157 GB, free: 30.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006656/1.579, allocations: 0.6009 MB / 0.9163 GB, free: 29.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009292/1.58, allocations: 127.7 kB / 0.9165 GB, free: 29.66 MB / 0.5573 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" ) "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 () * 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.001141/1.581, allocations: 213 kB / 0.9167 GB, free: 29.45 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001526/1.583, allocations: 459 kB / 0.9171 GB, free: 28.99 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04877/1.631, allocations: 17.62 MB / 0.9343 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.551e-05/1.632, allocations: 36.61 kB / 0.9343 GB, free: 15.37 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-05/1.632, allocations: 28 kB / 0.9344 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001755/1.632, allocations: 18.47 kB / 0.9344 GB, free: 15.34 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.05834/1.69, allocations: 22.61 MB / 0.9565 GB, free: 14.29 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.683e-05/1.69, allocations: 3.953 kB / 0.9565 GB, free: 14.29 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002738/1.693, allocations: 409.1 kB / 0.9569 GB, free: 13.93 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02254/1.716, allocations: 6.901 MB / 0.9636 GB, free: 8.582 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001056/1.717, allocations: 22.98 kB / 0.9636 GB, free: 8.566 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05244/1.769, allocations: 22.27 MB / 0.9854 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/1.769, allocations: 0 / 0.9854 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4225/2.192, allocations: 20.5 MB / 1.005 GB, free: 110.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001751/2.194, allocations: 0.5536 MB / 1.006 GB, free: 110.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001686/2.195, allocations: 6.062 kB / 1.006 GB, free: 110.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005758/2.201, allocations: 454.8 kB / 1.006 GB, free: 110.3 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003198/2.204, allocations: 0.7636 MB / 1.007 GB, free: 110.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006377/2.205, allocations: 90.27 kB / 1.007 GB, free: 110.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003932/2.209, allocations: 1.833 MB / 1.009 GB, free: 110.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.174e-06/2.209, allocations: 3.156 kB / 1.009 GB, free: 110.1 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01345/2.222, allocations: 2.621 MB / 1.012 GB, free: 110 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 () * 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.001143/2.223, allocations: 151.2 kB / 1.012 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04435/2.268, allocations: 13.99 MB / 1.025 GB, free: 108.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/2.268, allocations: 0 / 1.025 GB, free: 108.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01904/2.287, allocations: 5.854 MB / 1.031 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003969/2.291, allocations: 250.9 kB / 1.031 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/2.304, allocations: 5.967 MB / 1.037 GB, free: 106.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002481/2.306, allocations: 2.599 MB / 1.04 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00339/2.31, allocations: 0.6101 MB / 1.04 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006971/2.311, allocations: 174.4 kB / 1.04 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of SimCode: time 1.142e-06/2.311, allocations: 0 / 1.04 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of Templates: time 0.1519/2.462, allocations: 104.4 MB / 1.142 GB, free: 58.46 MB / 0.5886 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe 2>&1)