Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08833/0.08833, allocations: 12.6 MB / 28.91 MB, free: 0.6211 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.001325/0.001325, allocations: 107.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.487/1.487, 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.00154/0.001541, allocations: 188.5 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4562/0.4562, 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.002654/0.002654, allocations: 143.8 kB / 0.5567 GB, free: 28.46 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1472, allocations: 68.13 MB / 0.6232 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.02079/0.1681, allocations: 21.96 MB / 0.6446 GB, free: 9.215 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01237/0.1805, allocations: 4.854 MB / 0.6494 GB, free: 4.336 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005115/0.1857, allocations: 44 kB / 0.6494 GB, free: 4.293 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003036/0.1888, allocations: 0.8828 MB / 0.6503 GB, free: 3.402 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.009066/0.1979, allocations: 2.312 MB / 0.6525 GB, free: 1.082 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005842/0.2037, allocations: 2.079 MB / 0.6546 GB, free: 15.04 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00917/0.2129, allocations: 5.787 MB / 0.6602 GB, free: 9.223 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002681/0.2156, allocations: 1.318 MB / 0.6615 GB, free: 7.852 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004103/0.2197, allocations: 2.349 MB / 0.6638 GB, free: 5.492 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004509/0.2242, allocations: 2.982 MB / 0.6667 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001742/0.226, allocations: 448 kB / 0.6671 GB, free: 2.059 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.228, allocations: 0.5898 MB / 0.6677 GB, free: 1.469 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009838/0.229, allocations: 1.163 MB / 0.6688 GB, free: 308 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002722/0.2317, allocations: 2.641 MB / 0.6714 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006892/0.2386, allocations: 6.274 MB / 0.6776 GB, free: 7.348 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.2387, allocations: 3.984 kB / 0.6776 GB, free: 7.344 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2387, allocations: 0 / 0.6776 GB, free: 7.344 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001642/0.2388, allocations: 3.938 kB / 0.6776 GB, free: 7.34 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.03325/0.2721, allocations: 9.209 MB / 0.6866 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.2722, allocations: 11.98 kB / 0.6866 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02843/0.3006, allocations: 4.009 MB / 0.6905 GB, free: 10 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007136/0.3078, allocations: 2.69 MB / 0.6931 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001185/0.309, allocations: 0.9535 MB / 0.694 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00154/0.3105, allocations: 352 kB / 0.6944 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01394/0.3245, allocations: 4.755 MB / 0.699 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.107e-05/0.3246, allocations: 0 / 0.699 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007872/0.3254, allocations: 140 kB / 0.6992 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-05/0.3255, allocations: 91.94 kB / 0.6992 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01001/0.3355, allocations: 4.259 MB / 0.7034 GB, free: 12.52 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.3533/0.6889, allocations: 18.28 MB / 0.7213 GB, free: 69.42 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.015/0.7039, allocations: 5.029 MB / 0.7262 GB, free: 68.53 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007246/0.7112, allocations: 2.799 MB / 0.7289 GB, free: 67.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005352/0.7117, allocations: 69.12 kB / 0.729 GB, free: 67.42 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007802/0.7196, allocations: 3.195 MB / 0.7321 GB, free: 66.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=385): time 7.524e-06/0.7196, allocations: 0 / 0.7321 GB, free: 66.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=385): time 0.301/1.021, allocations: 66.81 MB / 0.7973 GB, free: 16.93 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/1.021, allocations: 149.8 kB / 0.7975 GB, free: 16.76 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00401/1.025, allocations: 3.259 MB / 0.8007 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.00102/1.026, allocations: 85.7 kB / 0.8007 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001099/1.027, allocations: 1.984 MB / 0.8027 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001283/1.028, allocations: 1.326 MB / 0.804 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001244/1.029, allocations: 0.6862 MB / 0.8046 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.895e-05/1.029, allocations: 301.1 kB / 0.8049 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005119/1.035, allocations: 2.618 MB / 0.8075 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005384/1.04, allocations: 3.253 MB / 0.8107 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07516/1.115, allocations: 19.13 MB / 0.8293 GB, free: 15.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.489e-05/1.115, allocations: 4 kB / 0.8293 GB, free: 15.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.06253/1.178, allocations: 17.25 MB / 0.8462 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.011e-05/1.178, allocations: 67.39 kB / 0.8463 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.394e-05/1.178, allocations: 12 kB / 0.8463 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02896/1.207, allocations: 7.295 MB / 0.8534 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003676/1.211, allocations: 0.6826 MB / 0.8541 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09843/1.309, allocations: 33.85 MB / 0.8871 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006901/1.316, allocations: 0.6159 MB / 0.8877 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000953/1.317, allocations: 156 kB / 0.8879 GB, free: 3.793 MB / 0.5919 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.002761/1.32, allocations: 0.6598 MB / 0.8885 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001447/1.321, allocations: 462.3 kB / 0.8889 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06087/1.382, allocations: 16.88 MB / 0.9054 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001389/1.382, allocations: 23.92 kB / 0.9055 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/1.382, allocations: 0 / 0.9055 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001648/1.384, allocations: 0.5609 MB / 0.906 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001619/1.386, allocations: 71.92 kB / 0.9061 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005277/1.391, allocations: 359.6 kB / 0.9064 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00723/1.398, allocations: 1.906 MB / 0.9083 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02877/1.427, allocations: 8.397 MB / 0.9165 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01831/1.445, allocations: 8.254 MB / 0.9245 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005657/1.451, allocations: 2.288 MB / 0.9268 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004132/1.455, allocations: 2.149 MB / 0.9289 GB, free: 9.613 MB / 0.6387 GB Notification: Performance of Backend: time 1.262e-06/1.455, allocations: 0 / 0.9289 GB, free: 9.613 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02369/1.479, allocations: 7.06 MB / 0.9358 GB, free: 2.527 MB / 0.6387 GB Notification: Performance of SimCode: time 0.01346/1.492, allocations: 9.077 MB / 0.9446 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of Templates: time 0.4666/1.959, allocations: 88.42 MB / 1.031 GB, free: 190.1 MB / 0.67 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)