Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.0009031/0.0009031, allocations: 98.45 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.235/1.235, allocations: 223.2 MB / 238.9 MB, free: 5.469 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.001025/0.001025, allocations: 193 kB / 290.2 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4197/0.4197, allocations: 78.53 MB / 419.8 MB, free: 4.316 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006078/0.0006079, allocations: 16 kB / 499.7 MB, free: 6.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1742, allocations: 69.35 MB / 0.5557 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII): time 0.2465/0.4208, allocations: 11.33 MB / 0.5667 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007591/0.4284, allocations: 3.358 MB / 0.57 GB, free: 34.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002928/0.4314, allocations: 35.16 kB / 0.5701 GB, free: 34.15 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.4329, allocations: 349.1 kB / 0.5704 GB, free: 34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004507/0.4374, allocations: 1.257 MB / 0.5716 GB, free: 33.13 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003353/0.4408, allocations: 1.247 MB / 0.5728 GB, free: 32.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004318/0.4451, allocations: 2.148 MB / 0.5749 GB, free: 31.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009829/0.4461, allocations: 0.6154 MB / 0.5755 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001701/0.4478, allocations: 1.171 MB / 0.5767 GB, free: 30.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001647/0.4495, allocations: 1.545 MB / 0.5782 GB, free: 29.87 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004081/0.4499, allocations: 132.3 kB / 0.5783 GB, free: 29.87 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008081/0.4507, allocations: 247.8 kB / 0.5785 GB, free: 29.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003693/0.4511, allocations: 0.5336 MB / 0.5791 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005292/0.4516, allocations: 490.2 kB / 0.5795 GB, free: 29.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00234/0.454, allocations: 2.53 MB / 0.582 GB, free: 28.42 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.454, allocations: 0 / 0.582 GB, free: 28.42 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.454, allocations: 4 kB / 0.582 GB, free: 28.42 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001151/0.4541, allocations: 3.938 kB / 0.582 GB, free: 28.41 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.01917/0.4733, allocations: 5.718 MB / 0.5876 GB, free: 26.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.4734, allocations: 12.75 kB / 0.5876 GB, free: 26.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01487/0.4883, allocations: 2.267 MB / 0.5898 GB, free: 26 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003184/0.4915, allocations: 1.555 MB / 0.5913 GB, free: 25.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006021/0.4921, allocations: 0.6812 MB / 0.592 GB, free: 24.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005078/0.4926, allocations: 206.5 kB / 0.5922 GB, free: 24.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00618/0.4988, allocations: 3.061 MB / 0.5952 GB, free: 23.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.451e-05/0.4989, allocations: 0.75 kB / 0.5952 GB, free: 23.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002259/0.4991, allocations: 75.97 kB / 0.5953 GB, free: 23.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.244e-05/0.4991, allocations: 46.06 kB / 0.5953 GB, free: 23.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006106/0.5053, allocations: 2.87 MB / 0.5981 GB, free: 22.37 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.02082/0.5261, allocations: 10.09 MB / 0.608 GB, free: 16.56 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01227/0.5384, allocations: 4.777 MB / 0.6126 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004953/0.5389, allocations: 43.28 kB / 0.6127 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.539, allocations: 53.7 kB / 0.6127 GB, free: 14.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=227): time 4.428e-06/0.539, allocations: 0 / 0.6127 GB, free: 14.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=227): time 0.1174/0.6564, allocations: 33.75 MB / 0.6457 GB, free: 1.531 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.229e-05/0.6565, allocations: 128.8 kB / 0.6458 GB, free: 1.379 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002721/0.6593, allocations: 1.965 MB / 0.6477 GB, free: 15.39 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005921/0.6599, allocations: 69.69 kB / 0.6478 GB, free: 15.32 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008063/0.6607, allocations: 1.085 MB / 0.6489 GB, free: 14.22 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009488/0.6616, allocations: 0.7971 MB / 0.6496 GB, free: 13.41 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.6619, allocations: 56 kB / 0.6497 GB, free: 13.36 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.6621, allocations: 416 kB / 0.6501 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004469/0.6665, allocations: 2.055 MB / 0.6521 GB, free: 10.89 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00475/0.6713, allocations: 2.413 MB / 0.6544 GB, free: 8.375 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004726/0.6761, allocations: 2.204 MB / 0.6566 GB, free: 6.148 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.505e-06/0.6761, allocations: 0 / 0.6566 GB, free: 6.148 MB / 462.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.04411/0.7202, allocations: 14.8 MB / 0.6711 GB, free: 7.297 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001011/0.7213, allocations: 2.71 MB / 0.6737 GB, free: 4.324 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.7213, allocations: 4 kB / 0.6737 GB, free: 4.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0205/0.7418, allocations: 6.431 MB / 0.68 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002503/0.7443, allocations: 483.3 kB / 0.6804 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06511/0.8095, allocations: 26.5 MB / 0.7063 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004315/0.8138, allocations: 0.5324 MB / 0.7068 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004484/0.8143, allocations: 108 kB / 0.7069 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.8143, allocations: 7 kB / 0.707 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04307/0.8574, allocations: 14.47 MB / 0.7211 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.244e-05/0.8575, allocations: 4 kB / 0.7211 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02025/0.8777, allocations: 6.43 MB / 0.7274 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002561/0.8803, allocations: 475.3 kB / 0.7278 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06619/0.9466, allocations: 26.49 MB / 0.7537 GB, free: 2.102 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003968/0.9506, allocations: 0.4977 MB / 0.7542 GB, free: 1.602 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003748/0.951, allocations: 104 kB / 0.7543 GB, free: 1.5 MB / 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.00132/0.9523, allocations: 0.4984 MB / 0.7548 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006372/0.9529, allocations: 280.6 kB / 0.755 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04198/0.9949, allocations: 14.25 MB / 0.7689 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.923e-05/0.995, allocations: 20 kB / 0.769 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.715e-05/0.995, allocations: 23.95 kB / 0.769 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.296e-05/0.9951, allocations: 11.95 kB / 0.769 GB, free: 2.383 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.2782/1.273, allocations: 17.77 MB / 0.7864 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.002e-05/1.273, allocations: 1.219 kB / 0.7864 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/1.275, allocations: 251.6 kB / 0.7866 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01814/1.293, allocations: 6.089 MB / 0.7925 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005319/1.294, allocations: 41.5 kB / 0.7926 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05538/1.349, allocations: 22.66 MB / 0.8147 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.349, allocations: 3.875 kB / 0.8147 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04181/1.391, allocations: 16.8 MB / 0.8311 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000804/1.392, allocations: 378.4 kB / 0.8315 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004845/1.392, allocations: 40.52 kB / 0.8315 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002536/1.395, allocations: 369.2 kB / 0.8319 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001656/1.396, allocations: 0.5449 MB / 0.8324 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001654/1.397, allocations: 59.47 kB / 0.8325 GB, free: 147 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001307/1.398, allocations: 1.274 MB / 0.8337 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/1.398, allocations: 0 / 0.8337 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003858/1.402, allocations: 1.829 MB / 0.8355 GB, free: 144.1 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.0003492/1.402, allocations: 164.2 kB / 0.8356 GB, free: 144 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02814/1.43, allocations: 12.19 MB / 0.8475 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.43, allocations: 0 / 0.8475 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01172/1.442, allocations: 4.625 MB / 0.8521 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/1.443, allocations: 177.6 kB / 0.8522 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007402/1.451, allocations: 6.122 MB / 0.8582 GB, free: 123.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008169/1.452, allocations: 1.791 MB / 0.86 GB, free: 122 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001161/1.453, allocations: 274.5 kB / 0.8602 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000442/1.453, allocations: 147.4 kB / 0.8604 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of SimCode: time 6.82e-07/1.453, allocations: 0 / 0.8604 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.08249/1.536, allocations: 72.6 MB / 0.9313 GB, free: 49.07 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1) Environment - environmentSimulation: