Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.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.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004623/0.004623, 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.202/1.202, allocations: 223.2 MB / 239 MB, free: 1.789 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.0008712/0.0008711, allocations: 103.4 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4123/0.4123, allocations: 79.44 MB / 420.8 MB, free: 43.7 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003833, allocations: 16 kB / 0.489 GB, free: 2.051 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3248, allocations: 69.5 MB / 0.5569 GB, free: 38.64 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1044/0.4292, allocations: 98.53 MB / 0.6531 GB, free: 7.086 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.4295, allocations: 83.94 kB / 0.6532 GB, free: 7.004 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.147/0.5764, allocations: 61.76 MB / 0.7135 GB, free: 8.891 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5765, allocations: 0 / 0.7135 GB, free: 8.891 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000194/0.5767, allocations: 51.94 kB / 0.7136 GB, free: 8.84 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.01263/0.5893, allocations: 4.216 MB / 0.7177 GB, free: 4.559 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.5894, allocations: 12.02 kB / 0.7177 GB, free: 4.547 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009544/0.5989, allocations: 1.58 MB / 0.7192 GB, free: 2.961 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003791/0.6027, allocations: 1.467 MB / 0.7207 GB, free: 1.426 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007493/0.6035, allocations: 0.6825 MB / 0.7213 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007525/0.6043, allocations: 188 kB / 0.7215 GB, free: 472 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007225/0.6115, allocations: 3.07 MB / 0.7245 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.876e-05/0.6116, allocations: 3.953 kB / 0.7245 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003486/0.6119, allocations: 76 kB / 0.7246 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.702e-05/0.612, allocations: 44 kB / 0.7246 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005962/0.6179, allocations: 2.873 MB / 0.7274 GB, free: 10.37 MB / 0.5261 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.01766/0.6356, allocations: 9.599 MB / 0.7368 GB, free: 360 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01141/0.6471, allocations: 4.768 MB / 0.7415 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003157/0.6474, allocations: 37.97 kB / 0.7415 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/0.6475, allocations: 64.5 kB / 0.7416 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=227): time 4.107e-06/0.6475, allocations: 0 / 0.7416 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of matching and sorting (n=227): time 0.358/1.005, allocations: 32.21 MB / 0.773 GB, free: 121.2 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/1.006, allocations: 126.4 kB / 0.7731 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003073/1.009, allocations: 1.659 MB / 0.7748 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005672/1.009, allocations: 64.14 kB / 0.7748 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007564/1.01, allocations: 1.117 MB / 0.7759 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001031/1.011, allocations: 0.7802 MB / 0.7767 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/1.011, allocations: 44.88 kB / 0.7767 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.633e-05/1.011, allocations: 384.5 kB / 0.7771 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00342/1.015, allocations: 1.794 MB / 0.7788 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00357/1.018, allocations: 2.102 MB / 0.7809 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003429/1.022, allocations: 1.907 MB / 0.7828 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/1.022, allocations: 2.625 kB / 0.7828 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.0396/1.061, allocations: 14.1 MB / 0.7965 GB, free: 119 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005039/1.062, allocations: 2.738 MB / 0.7992 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/1.062, allocations: 6.312 kB / 0.7992 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01973/1.082, allocations: 6.37 MB / 0.8054 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/1.084, allocations: 320.9 kB / 0.8057 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06232/1.146, allocations: 26.49 MB / 0.8316 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003508/1.149, allocations: 495 kB / 0.8321 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004779/1.15, allocations: 75.86 kB / 0.8322 GB, free: 110 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/1.15, allocations: 13.09 kB / 0.8322 GB, free: 110 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03738/1.187, allocations: 13.78 MB / 0.8456 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.943e-05/1.187, allocations: 11.67 kB / 0.8456 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01819/1.206, allocations: 6.369 MB / 0.8519 GB, free: 106.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/1.207, allocations: 302.9 kB / 0.8521 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05971/1.267, allocations: 26.51 MB / 0.878 GB, free: 83.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00364/1.271, allocations: 465.4 kB / 0.8785 GB, free: 83.47 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005218/1.271, allocations: 75.61 kB / 0.8786 GB, free: 83.4 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (184): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.001694/1.273, allocations: 489.9 kB / 0.879 GB, free: 82.94 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008829/1.274, allocations: 268.6 kB / 0.8793 GB, free: 82.68 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03786/1.312, allocations: 14.28 MB / 0.8932 GB, free: 71.67 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/1.312, allocations: 24 kB / 0.8932 GB, free: 71.65 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.529e-05/1.312, allocations: 19.72 kB / 0.8933 GB, free: 71.63 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.945e-05/1.312, allocations: 15.16 kB / 0.8933 GB, free: 71.63 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 postOpt removeSimpleEquations (simulation): time 0.04363/1.356, allocations: 17.76 MB / 0.9106 GB, free: 56.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.097e-05/1.356, allocations: 4 kB / 0.9106 GB, free: 56.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001752/1.357, allocations: 247.8 kB / 0.9109 GB, free: 56.71 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01731/1.375, allocations: 6.079 MB / 0.9168 GB, free: 50.69 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006218/1.375, allocations: 47.98 kB / 0.9168 GB, free: 50.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04743/1.423, allocations: 22.66 MB / 0.939 GB, free: 27.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.423, allocations: 7.938 kB / 0.939 GB, free: 27.84 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04398/1.467, allocations: 16.79 MB / 0.9554 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008077/1.468, allocations: 381.1 kB / 0.9557 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008744/1.469, allocations: 40 kB / 0.9558 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003/1.472, allocations: 366.3 kB / 0.9561 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001971/1.474, allocations: 0.5448 MB / 0.9567 GB, free: 9.652 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003583/1.474, allocations: 59.98 kB / 0.9567 GB, free: 9.594 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001818/1.476, allocations: 1.275 MB / 0.958 GB, free: 8.309 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/1.476, allocations: 0 / 0.958 GB, free: 8.309 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006161/1.482, allocations: 1.692 MB / 0.9596 GB, free: 6.621 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * 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 (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * 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 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006943/1.483, allocations: 188.3 kB / 0.9598 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02901/1.512, allocations: 11.26 MB / 0.9708 GB, free: 11.17 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.445e-06/1.512, allocations: 4.25 kB / 0.9708 GB, free: 11.16 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01292/1.525, allocations: 4.605 MB / 0.9753 GB, free: 6.547 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/1.527, allocations: 191.6 kB / 0.9755 GB, free: 6.359 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/1.538, allocations: 6.076 MB / 0.9814 GB, free: 236 kB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001802/1.54, allocations: 1.778 MB / 0.9831 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001287/1.541, allocations: 212.3 kB / 0.9833 GB, free: 14.22 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005699/1.542, allocations: 127.4 kB / 0.9835 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of SimCode: time 6.92e-07/1.542, allocations: 0 / 0.9835 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of Templates: time 0.3299/1.872, allocations: 70.98 MB / 1.053 GB, free: 142 MB / 0.5886 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)