Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08597/0.08597, allocations: 12.6 MB / 28.91 MB, free: 0.6172 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.001109/0.001109, allocations: 103.5 kB / 32.51 MB, free: 3.562 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.583/1.583, allocations: 205.1 MB / 241.1 MB, free: 12.36 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.001524/0.001524, allocations: 187.3 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.4455/0.4455, allocations: 78.51 MB / 420 MB, free: 11.24 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.002686/0.002686, allocations: 140 kB / 0.5566 GB, free: 28.36 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1505, allocations: 68.13 MB / 0.6232 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.02206/0.1727, allocations: 21.82 MB / 0.6445 GB, free: 9.367 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01334/0.1861, allocations: 4.803 MB / 0.6492 GB, free: 4.543 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005853/0.192, allocations: 40 kB / 0.6492 GB, free: 4.504 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003949/0.196, allocations: 0.8789 MB / 0.6501 GB, free: 3.617 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.01033/0.2064, allocations: 2.282 MB / 0.6523 GB, free: 1.324 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.00679/0.2132, allocations: 2.076 MB / 0.6543 GB, free: 15.28 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01096/0.2242, allocations: 5.701 MB / 0.6599 GB, free: 9.555 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002779/0.227, allocations: 1.321 MB / 0.6612 GB, free: 8.18 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00456/0.2316, allocations: 2.318 MB / 0.6635 GB, free: 5.852 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005263/0.2369, allocations: 2.928 MB / 0.6663 GB, free: 2.91 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001826/0.2387, allocations: 436 kB / 0.6667 GB, free: 2.484 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002413/0.2411, allocations: 0.5819 MB / 0.6673 GB, free: 1.902 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001579/0.2427, allocations: 1.136 MB / 0.6684 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004262/0.247, allocations: 2.614 MB / 0.671 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008748/0.2558, allocations: 6.235 MB / 0.677 GB, free: 7.867 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.2558, allocations: 0 / 0.677 GB, free: 7.867 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2558, allocations: 3.938 kB / 0.6771 GB, free: 7.863 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002592/0.2561, allocations: 0 / 0.6771 GB, free: 7.863 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.03386/0.29, allocations: 9.283 MB / 0.6861 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.421e-05/0.29, allocations: 11.98 kB / 0.6861 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02697/0.317, allocations: 4.043 MB / 0.6901 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006913/0.324, allocations: 2.67 MB / 0.6927 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001155/0.3252, allocations: 0.9612 MB / 0.6936 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001678/0.3269, allocations: 344 kB / 0.694 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01402/0.3409, allocations: 4.727 MB / 0.6986 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001068/0.3411, allocations: 3.938 kB / 0.6986 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001038/0.3421, allocations: 148 kB / 0.6987 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.629e-05/0.3422, allocations: 84 kB / 0.6988 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01193/0.3542, allocations: 4.244 MB / 0.7029 GB, free: 13 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.4067/0.7609, allocations: 18.22 MB / 0.7207 GB, free: 70.37 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0139/0.7748, allocations: 5 MB / 0.7256 GB, free: 69.21 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007058/0.7819, allocations: 2.779 MB / 0.7283 GB, free: 68.12 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005839/0.7825, allocations: 71 kB / 0.7284 GB, free: 68.11 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007895/0.7904, allocations: 3.175 MB / 0.7315 GB, free: 67 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=383): time 7.714e-06/0.7905, allocations: 1.5 kB / 0.7315 GB, free: 67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=383): time 0.2663/1.057, allocations: 68.07 MB / 0.798 GB, free: 16.45 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/1.057, allocations: 145.8 kB / 0.7981 GB, free: 16.29 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003924/1.061, allocations: 3.209 MB / 0.8012 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001065/1.062, allocations: 85.7 kB / 0.8013 GB, free: 13 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001106/1.063, allocations: 1.999 MB / 0.8033 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001355/1.064, allocations: 1.384 MB / 0.8046 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001227/1.066, allocations: 0.6789 MB / 0.8053 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.078e-05/1.066, allocations: 301.1 kB / 0.8056 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004502/1.07, allocations: 2.585 MB / 0.8081 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004729/1.075, allocations: 3.221 MB / 0.8112 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06673/1.142, allocations: 18.78 MB / 0.8296 GB, free: 88 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.591e-05/1.142, allocations: 4 kB / 0.8296 GB, free: 84 kB / 0.5294 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.0617/1.203, allocations: 17.28 MB / 0.8465 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.142e-05/1.204, allocations: 67.41 kB / 0.8465 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.104e-05/1.204, allocations: 12 kB / 0.8465 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02588/1.23, allocations: 7.158 MB / 0.8535 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003768/1.233, allocations: 0.667 MB / 0.8542 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09711/1.331, allocations: 33.33 MB / 0.8867 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006873/1.337, allocations: 0.6089 MB / 0.8873 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001408/1.339, allocations: 157.6 kB / 0.8875 GB, free: 4.68 MB / 0.5919 GB Warning: Assuming fixed start value for the following 5 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.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 (403): * Single equations (assignments): 400 * 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.00428/1.343, allocations: 0.6661 MB / 0.8881 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002738/1.346, allocations: 480.8 kB / 0.8886 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06072/1.407, allocations: 16.85 MB / 0.905 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001826/1.407, allocations: 23.81 kB / 0.9051 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/1.407, allocations: 8 kB / 0.9051 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002365/1.409, allocations: 0.574 MB / 0.9056 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002957/1.412, allocations: 67.98 kB / 0.9057 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006023/1.418, allocations: 359.6 kB / 0.906 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008389/1.427, allocations: 1.903 MB / 0.9079 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03081/1.458, allocations: 8.326 MB / 0.916 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02347/1.481, allocations: 8.228 MB / 0.9241 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006343/1.488, allocations: 2.265 MB / 0.9263 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.005132/1.493, allocations: 2.101 MB / 0.9283 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of Backend: time 2.214e-06/1.493, allocations: 0 / 0.9283 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02868/1.521, allocations: 6.889 MB / 0.935 GB, free: 3.848 MB / 0.6387 GB Notification: Performance of SimCode: time 0.01921/1.541, allocations: 9.097 MB / 0.9439 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of Templates: time 0.5115/2.052, allocations: 83.91 MB / 1.026 GB, free: 196.2 MB / 0.67 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)