Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.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.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 114.5 kB / 16.42 MB, free: 6.449 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.318/1.318, allocations: 222.9 MB / 240.1 MB, free: 4.551 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.001398/0.001398, allocations: 192.5 kB / 290.4 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4425/0.4425, allocations: 78.53 MB / 419.1 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 80.03 kB / 0.5544 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3239, allocations: 68.17 MB / 0.621 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01691/0.3409, allocations: 21.91 MB / 0.6424 GB, free: 4.199 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01169/0.3526, allocations: 4.885 MB / 0.6472 GB, free: 15.29 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004557/0.3572, allocations: 44 kB / 0.6472 GB, free: 15.25 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003198/0.3604, allocations: 0.8867 MB / 0.6481 GB, free: 14.36 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr16.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr67.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr78.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr89.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr49.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr528.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr2829.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr2930.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr3031.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Tr231.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.008274/0.3688, allocations: 2.307 MB / 0.6503 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005664/0.3745, allocations: 2.082 MB / 0.6524 GB, free: 9.992 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009683/0.3842, allocations: 5.795 MB / 0.658 GB, free: 4.172 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003/0.3872, allocations: 1.318 MB / 0.6593 GB, free: 2.805 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00418/0.3914, allocations: 2.349 MB / 0.6616 GB, free: 456 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004633/0.3961, allocations: 2.982 MB / 0.6645 GB, free: 13.45 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001901/0.398, allocations: 444 kB / 0.6649 GB, free: 13.02 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002578/0.4006, allocations: 0.5936 MB / 0.6655 GB, free: 12.42 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001914/0.4025, allocations: 1.163 MB / 0.6666 GB, free: 11.25 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004495/0.407, allocations: 2.629 MB / 0.6692 GB, free: 8.609 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009003/0.416, allocations: 6.314 MB / 0.6754 GB, free: 2.273 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.4161, allocations: 0 / 0.6754 GB, free: 2.273 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4161, allocations: 0 / 0.6754 GB, free: 2.273 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001989/0.4163, allocations: 0 / 0.6754 GB, free: 2.273 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.03225/0.4485, allocations: 9.38 MB / 0.6845 GB, free: 8.789 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.4486, allocations: 12.03 kB / 0.6846 GB, free: 8.777 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02613/0.4748, allocations: 4.043 MB / 0.6885 GB, free: 4.727 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005516/0.4803, allocations: 2.709 MB / 0.6911 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008563/0.4812, allocations: 0.9651 MB / 0.6921 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007926/0.482, allocations: 352 kB / 0.6924 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009193/0.4912, allocations: 4.751 MB / 0.6971 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.906e-05/0.4913, allocations: 0 / 0.6971 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003612/0.4916, allocations: 148 kB / 0.6972 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-05/0.4917, allocations: 87.98 kB / 0.6973 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00839/0.5001, allocations: 4.256 MB / 0.7014 GB, free: 7.223 MB / 0.4981 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.03297/0.5331, allocations: 18.32 MB / 0.7193 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01243/0.5455, allocations: 5.029 MB / 0.7242 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005786/0.5514, allocations: 2.802 MB / 0.727 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000559/0.5519, allocations: 70.92 kB / 0.727 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006607/0.5586, allocations: 3.197 MB / 0.7302 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=385): time 8.175e-06/0.5586, allocations: 0 / 0.7302 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of matching and sorting (n=385): time 0.6141/1.173, allocations: 66.82 MB / 0.7954 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/1.173, allocations: 148.9 kB / 0.7956 GB, free: 121.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004346/1.177, allocations: 3.27 MB / 0.7988 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.00114/1.178, allocations: 87.55 kB / 0.7988 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001353/1.18, allocations: 2.008 MB / 0.8008 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001774/1.181, allocations: 1.392 MB / 0.8022 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001405/1.183, allocations: 0.6895 MB / 0.8028 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.992e-05/1.183, allocations: 305.1 kB / 0.8031 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005071/1.188, allocations: 2.624 MB / 0.8057 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005266/1.193, allocations: 3.252 MB / 0.8089 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06603/1.259, allocations: 19.12 MB / 0.8275 GB, free: 90.95 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-05/1.259, allocations: 4 kB / 0.8275 GB, free: 90.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.05116/1.311, allocations: 17.27 MB / 0.8444 GB, free: 73.63 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.512e-05/1.311, allocations: 63.41 kB / 0.8445 GB, free: 73.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.179e-05/1.311, allocations: 12 kB / 0.8445 GB, free: 73.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0243/1.335, allocations: 7.306 MB / 0.8516 GB, free: 66.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003344/1.338, allocations: 0.6786 MB / 0.8523 GB, free: 65.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07724/1.416, allocations: 33.9 MB / 0.8854 GB, free: 31.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005781/1.422, allocations: 0.6155 MB / 0.886 GB, free: 31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005733/1.422, allocations: 160 kB / 0.8861 GB, free: 30.84 MB / 0.5606 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (409): * Single equations (assignments): 406 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.001657/1.424, allocations: 0.6701 MB / 0.8868 GB, free: 30.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008427/1.425, allocations: 480.9 kB / 0.8872 GB, free: 29.69 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04933/1.474, allocations: 16.89 MB / 0.9037 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.545e-05/1.474, allocations: 19.94 kB / 0.9038 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/1.474, allocations: 3.938 kB / 0.9038 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/1.475, allocations: 0.578 MB / 0.9043 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001307/1.477, allocations: 68 kB / 0.9044 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004157/1.481, allocations: 359.6 kB / 0.9047 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006231/1.487, allocations: 1.91 MB / 0.9066 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02374/1.511, allocations: 8.406 MB / 0.9148 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01704/1.528, allocations: 8.288 MB / 0.9229 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004985/1.533, allocations: 2.284 MB / 0.9251 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003118/1.536, allocations: 2.142 MB / 0.9272 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of Backend: time 6.21e-07/1.536, allocations: 4 kB / 0.9272 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02156/1.558, allocations: 7.085 MB / 0.9341 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of SimCode: time 0.01211/1.57, allocations: 9.26 MB / 0.9432 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of Templates: time 0.3924/1.962, allocations: 88.44 MB / 1.03 GB, free: 226.3 MB / 0.67 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)