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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 223.2 MB / 238.9 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 185 kB / 290.2 MB, free: 2.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4904/0.4904, allocations: 79.45 MB / 420.7 MB, free: 3.93 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004159/0.0004159, allocations: 20 kB / 0.489 GB, free: 5.617 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1665, allocations: 69.51 MB / 0.5569 GB, free: 44 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII): time 0.3237/0.4903, allocations: 11.36 MB / 0.568 GB, free: 35.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008107/0.4985, allocations: 3.369 MB / 0.5713 GB, free: 33.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002935/0.5015, allocations: 30.88 kB / 0.5713 GB, free: 33.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.5026, allocations: 348.1 kB / 0.5716 GB, free: 32.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003983/0.5066, allocations: 1.262 MB / 0.5729 GB, free: 32.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002853/0.5095, allocations: 1.247 MB / 0.5741 GB, free: 31.44 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004041/0.5135, allocations: 2.148 MB / 0.5762 GB, free: 30.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/0.5146, allocations: 0.6147 MB / 0.5768 GB, free: 30.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002051/0.5167, allocations: 1.171 MB / 0.5779 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002159/0.5188, allocations: 1.549 MB / 0.5794 GB, free: 28.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006887/0.5195, allocations: 135 kB / 0.5796 GB, free: 28.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.5205, allocations: 243.7 kB / 0.5798 GB, free: 28.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004014/0.5209, allocations: 0.5359 MB / 0.5803 GB, free: 28.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004979/0.5214, allocations: 495 kB / 0.5808 GB, free: 28.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002098/0.5236, allocations: 2.529 MB / 0.5832 GB, free: 27.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.5236, allocations: 0 / 0.5832 GB, free: 27.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5236, allocations: 0 / 0.5832 GB, free: 27.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.231e-05/0.5236, allocations: 0 / 0.5832 GB, free: 27.32 MB / 430.1 MB 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.01972/0.5434, allocations: 5.727 MB / 0.5888 GB, free: 25.31 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.5434, allocations: 9.375 kB / 0.5889 GB, free: 25.31 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01514/0.5586, allocations: 2.268 MB / 0.5911 GB, free: 24.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003801/0.5624, allocations: 1.55 MB / 0.5926 GB, free: 23.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006206/0.5631, allocations: 0.6852 MB / 0.5932 GB, free: 23.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004571/0.5635, allocations: 204 kB / 0.5934 GB, free: 23.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006376/0.5699, allocations: 3.063 MB / 0.5964 GB, free: 22.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.57, allocations: 4 kB / 0.5964 GB, free: 22.22 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002483/0.5702, allocations: 77.36 kB / 0.5965 GB, free: 22.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.604e-05/0.5703, allocations: 49.89 kB / 0.5966 GB, free: 22.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006103/0.5764, allocations: 2.864 MB / 0.5994 GB, free: 21.26 MB / 430.1 MB 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.02081/0.5972, allocations: 10.09 MB / 0.6092 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01228/0.6095, allocations: 4.776 MB / 0.6139 GB, free: 13.87 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000454/0.61, allocations: 46.69 kB / 0.6139 GB, free: 13.85 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.6101, allocations: 54.53 kB / 0.614 GB, free: 13.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=227): time 4.578e-06/0.6101, allocations: 0 / 0.614 GB, free: 13.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=227): time 0.1199/0.73, allocations: 33.75 MB / 0.6469 GB, free: 236 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.007e-05/0.7301, allocations: 124.8 kB / 0.647 GB, free: 84 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003052/0.7332, allocations: 1.969 MB / 0.649 GB, free: 14.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000873/0.7341, allocations: 69.7 kB / 0.649 GB, free: 14.02 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009181/0.735, allocations: 1.085 MB / 0.6501 GB, free: 12.92 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001037/0.736, allocations: 0.801 MB / 0.6509 GB, free: 12.11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.7363, allocations: 57.59 kB / 0.6509 GB, free: 12.05 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.7365, allocations: 416 kB / 0.6513 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00411/0.7406, allocations: 2.055 MB / 0.6533 GB, free: 9.582 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004358/0.7449, allocations: 2.409 MB / 0.6557 GB, free: 7.074 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004408/0.7494, allocations: 2.208 MB / 0.6578 GB, free: 4.844 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.7494, allocations: 4 kB / 0.6579 GB, free: 4.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.04214/0.7915, allocations: 14.79 MB / 0.6723 GB, free: 5.992 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001161/0.7927, allocations: 2.7 MB / 0.6749 GB, free: 3.027 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/0.7928, allocations: 8.859 kB / 0.6749 GB, free: 3.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02027/0.813, allocations: 6.436 MB / 0.6812 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/0.8158, allocations: 487.3 kB / 0.6817 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06491/0.8807, allocations: 26.5 MB / 0.7076 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0043/0.885, allocations: 0.5286 MB / 0.7081 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000342/0.8854, allocations: 104 kB / 0.7082 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.8854, allocations: 4 kB / 0.7082 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04087/0.9263, allocations: 14.48 MB / 0.7223 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.103e-05/0.9264, allocations: 8 kB / 0.7223 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01914/0.9455, allocations: 6.434 MB / 0.7286 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002553/0.9481, allocations: 475.2 kB / 0.7291 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06354/1.012, allocations: 26.49 MB / 0.7549 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004359/1.016, allocations: 0.4938 MB / 0.7554 GB, free: 320 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007242/1.017, allocations: 104 kB / 0.7555 GB, free: 216 kB / 0.545 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(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(flow=false 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 (283): * Single equations (assignments): 282 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001916/1.019, allocations: 0.5096 MB / 0.756 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008715/1.02, allocations: 268.6 kB / 0.7563 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04054/1.06, allocations: 14.26 MB / 0.7702 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-05/1.06, allocations: 20 kB / 0.7702 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-05/1.06, allocations: 25.08 kB / 0.7702 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.558e-05/1.06, allocations: 11.95 kB / 0.7703 GB, free: 1.086 MB / 0.5606 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.3386/1.399, allocations: 17.77 MB / 0.7876 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.053e-05/1.399, allocations: 3.125 kB / 0.7876 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001908/1.401, allocations: 242 kB / 0.7878 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0188/1.42, allocations: 6.09 MB / 0.7938 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007201/1.421, allocations: 44.31 kB / 0.7938 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0597/1.48, allocations: 22.67 MB / 0.816 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.48, allocations: 0 / 0.816 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0463/1.527, allocations: 16.79 MB / 0.8324 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/1.528, allocations: 380.1 kB / 0.8327 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001556/1.53, allocations: 49.2 kB / 0.8328 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003941/1.534, allocations: 360 kB / 0.8331 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0026/1.536, allocations: 0.546 MB / 0.8336 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005874/1.537, allocations: 55.8 kB / 0.8337 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002232/1.539, allocations: 1.274 MB / 0.8349 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.539, allocations: 0 / 0.8349 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008532/1.548, allocations: 1.828 MB / 0.8367 GB, free: 142.4 MB / 0.5606 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 {(66,7.7%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008287/1.548, allocations: 167.5 kB / 0.8369 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.03301/1.581, allocations: 12.19 MB / 0.8488 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/1.582, allocations: 0 / 0.8488 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01366/1.595, allocations: 4.618 MB / 0.8533 GB, free: 127.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/1.598, allocations: 180.1 kB / 0.8535 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009942/1.608, allocations: 6.122 MB / 0.8595 GB, free: 121.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/1.609, allocations: 1.787 MB / 0.8612 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001421/1.61, allocations: 269.5 kB / 0.8615 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004605/1.611, allocations: 145.7 kB / 0.8616 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of SimCode: time 8.32e-07/1.611, allocations: 4 kB / 0.8616 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.09632/1.707, allocations: 72.6 MB / 0.9325 GB, free: 47.16 MB / 0.5606 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)