Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08689/0.08689, allocations: 12.6 MB / 28.91 MB, free: 0.5977 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 107.5 kB / 32.51 MB, free: 3.531 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.1 MB / 241.1 MB, free: 12.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001943/0.001943, allocations: 195.4 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5424/0.5424, allocations: 78.51 MB / 420 MB, free: 11.26 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002666/0.002666, allocations: 139.8 kB / 0.5567 GB, free: 28.55 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1558, allocations: 68.13 MB / 0.6232 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.02424/0.1801, allocations: 21.91 MB / 0.6446 GB, free: 9.289 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01459/0.1948, allocations: 4.834 MB / 0.6493 GB, free: 4.434 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006262/0.2012, allocations: 40 kB / 0.6493 GB, free: 4.395 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004519/0.2057, allocations: 0.8828 MB / 0.6502 GB, free: 3.504 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 2.0.0/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 2.0.0/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 2.0.0/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 2.0.0/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 2.0.0/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 2.0.0/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 2.0.0/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 2.0.0/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 2.0.0/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.0111/0.2169, allocations: 2.297 MB / 0.6524 GB, free: 1.199 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007059/0.2239, allocations: 2.075 MB / 0.6545 GB, free: 15.16 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01193/0.2359, allocations: 5.76 MB / 0.6601 GB, free: 9.371 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00387/0.2398, allocations: 1.318 MB / 0.6614 GB, free: 8 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005553/0.2454, allocations: 2.341 MB / 0.6637 GB, free: 5.648 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005628/0.2511, allocations: 2.967 MB / 0.6666 GB, free: 2.668 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002428/0.2535, allocations: 440 kB / 0.667 GB, free: 2.238 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003297/0.2568, allocations: 0.5897 MB / 0.6676 GB, free: 1.648 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002381/0.2593, allocations: 1.155 MB / 0.6687 GB, free: 500 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005447/0.2647, allocations: 2.617 MB / 0.6712 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01211/0.2768, allocations: 6.289 MB / 0.6774 GB, free: 7.539 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.2769, allocations: 8 kB / 0.6774 GB, free: 7.531 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2769, allocations: 0 / 0.6774 GB, free: 7.531 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0003324/0.2773, allocations: 0 / 0.6774 GB, free: 7.531 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.03637/0.3137, allocations: 9.341 MB / 0.6865 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001015/0.3138, allocations: 11.98 kB / 0.6865 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02722/0.341, allocations: 4.043 MB / 0.6905 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008617/0.3497, allocations: 2.709 MB / 0.6931 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001265/0.351, allocations: 0.9574 MB / 0.6941 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001907/0.3529, allocations: 351.9 kB / 0.6944 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0159/0.3688, allocations: 4.739 MB / 0.699 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001294/0.369, allocations: 3.938 kB / 0.699 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001502/0.3705, allocations: 140 kB / 0.6992 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/0.3707, allocations: 88 kB / 0.6992 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01261/0.3833, allocations: 4.255 MB / 0.7034 GB, free: 12.55 MB / 0.5137 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.388/0.7714, allocations: 18.28 MB / 0.7212 GB, free: 69.35 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01572/0.7871, allocations: 5.008 MB / 0.7261 GB, free: 68.48 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007657/0.7948, allocations: 2.788 MB / 0.7289 GB, free: 67.39 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008568/0.7957, allocations: 70.73 kB / 0.7289 GB, free: 67.38 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01011/0.8059, allocations: 3.19 MB / 0.732 GB, free: 66.26 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=384): time 2.169e-05/0.8059, allocations: 0 / 0.732 GB, free: 66.26 MB / 0.5137 GB Notification: Performance of matching and sorting (n=384): time 0.2687/1.075, allocations: 67.79 MB / 0.7982 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/1.075, allocations: 141.8 kB / 0.7984 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0069/1.082, allocations: 3.25 MB / 0.8016 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001166/1.083, allocations: 93.69 kB / 0.8016 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001474/1.084, allocations: 2.013 MB / 0.8036 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002312/1.087, allocations: 1.381 MB / 0.805 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003431/1.09, allocations: 0.6824 MB / 0.8056 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.985e-05/1.09, allocations: 301.1 kB / 0.8059 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005752/1.096, allocations: 2.605 MB / 0.8085 GB, free: 6 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006212/1.102, allocations: 3.237 MB / 0.8116 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07444/1.177, allocations: 18.99 MB / 0.8302 GB, free: 15.29 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.31e-05/1.177, allocations: 5 kB / 0.8302 GB, free: 15.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.06347/1.24, allocations: 17.32 MB / 0.8471 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001548/1.241, allocations: 63.41 kB / 0.8471 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-05/1.241, allocations: 16 kB / 0.8472 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02784/1.269, allocations: 7.157 MB / 0.8541 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004198/1.273, allocations: 0.6951 MB / 0.8548 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1011/1.374, allocations: 33.34 MB / 0.8874 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007156/1.381, allocations: 0.612 MB / 0.888 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001386/1.383, allocations: 152 kB / 0.8881 GB, free: 3.812 MB / 0.5919 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (407): * Single equations (assignments): 404 * 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): 1 system {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004198/1.387, allocations: 0.6801 MB / 0.8888 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002628/1.389, allocations: 482.1 kB / 0.8893 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05992/1.449, allocations: 16.87 MB / 0.9057 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002024/1.45, allocations: 15.94 kB / 0.9057 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/1.45, allocations: 4 kB / 0.9057 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002635/1.452, allocations: 0.5784 MB / 0.9063 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002824/1.455, allocations: 68 kB / 0.9064 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006909/1.462, allocations: 365.2 kB / 0.9067 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008161/1.47, allocations: 1.908 MB / 0.9086 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02947/1.5, allocations: 8.379 MB / 0.9168 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02218/1.522, allocations: 8.253 MB / 0.9248 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005921/1.528, allocations: 2.288 MB / 0.9271 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004979/1.533, allocations: 2.125 MB / 0.9291 GB, free: 9.719 MB / 0.6387 GB Notification: Performance of Backend: time 9.42e-07/1.533, allocations: 0 / 0.9291 GB, free: 9.719 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02754/1.561, allocations: 6.921 MB / 0.9359 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of SimCode: time 0.01892/1.58, allocations: 9.177 MB / 0.9449 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of Templates: time 0.51/2.09, allocations: 84.52 MB / 1.027 GB, free: 194.2 MB / 0.67 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)