Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08362/0.08362, 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.001172/0.001171, allocations: 111.5 kB / 32.51 MB, free: 3.559 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.511/1.511, 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.001565/0.001565, allocations: 188.5 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.4541/0.4541, allocations: 78.51 MB / 420 MB, free: 11.22 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.002838/0.002838, allocations: 139.1 kB / 0.5567 GB, free: 28.23 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1366, allocations: 68.12 MB / 0.6232 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01946/0.1561, allocations: 21.72 MB / 0.6444 GB, free: 9.457 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01195/0.1681, allocations: 4.788 MB / 0.6491 GB, free: 4.648 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005103/0.1732, allocations: 48 kB / 0.6491 GB, free: 4.602 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003427/0.1767, allocations: 0.8789 MB / 0.65 GB, free: 3.715 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.009651/0.1864, allocations: 2.301 MB / 0.6522 GB, free: 1.406 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00669/0.1931, allocations: 2.041 MB / 0.6542 GB, free: 15.39 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01057/0.2037, allocations: 5.701 MB / 0.6598 GB, free: 9.668 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002913/0.2066, allocations: 1.314 MB / 0.6611 GB, free: 8.301 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004084/0.2107, allocations: 2.318 MB / 0.6633 GB, free: 5.973 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004284/0.215, allocations: 2.932 MB / 0.6662 GB, free: 3.027 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001724/0.2167, allocations: 440 kB / 0.6666 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002612/0.2194, allocations: 0.578 MB / 0.6672 GB, free: 2.02 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001741/0.2211, allocations: 1.147 MB / 0.6683 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005649/0.2268, allocations: 2.602 MB / 0.6708 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008773/0.2356, allocations: 6.208 MB / 0.6769 GB, free: 8.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.2356, allocations: 0 / 0.6769 GB, free: 8.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2356, allocations: 0 / 0.6769 GB, free: 8.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002781/0.2359, allocations: 4 kB / 0.6769 GB, free: 8.016 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.03266/0.2686, allocations: 9.115 MB / 0.6858 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.2686, allocations: 19.92 kB / 0.6858 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02755/0.2962, allocations: 4.009 MB / 0.6897 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00555/0.3018, allocations: 2.647 MB / 0.6923 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009173/0.3027, allocations: 0.9612 MB / 0.6933 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008104/0.3035, allocations: 351.9 kB / 0.6936 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009473/0.313, allocations: 4.719 MB / 0.6982 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.548e-05/0.3131, allocations: 3.938 kB / 0.6982 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003888/0.3135, allocations: 144 kB / 0.6983 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.843e-05/0.3136, allocations: 84 kB / 0.6984 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00864/0.3222, allocations: 4.244 MB / 0.7026 GB, free: 13.37 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.3266/0.6489, allocations: 18.17 MB / 0.7203 GB, free: 70.26 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0132/0.6621, allocations: 4.991 MB / 0.7252 GB, free: 69.45 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006134/0.6683, allocations: 2.778 MB / 0.7279 GB, free: 68.35 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003851/0.6687, allocations: 69.94 kB / 0.728 GB, free: 68.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006721/0.6754, allocations: 3.173 MB / 0.7311 GB, free: 67.23 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=382): time 6.192e-06/0.6754, allocations: 0 / 0.7311 GB, free: 67.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=382): time 0.2964/0.9719, allocations: 68.19 MB / 0.7977 GB, free: 16.58 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.972, allocations: 149.8 kB / 0.7978 GB, free: 16.41 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003935/0.9759, allocations: 3.217 MB / 0.801 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001017/0.9769, allocations: 85.7 kB / 0.801 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001106/0.978, allocations: 1.973 MB / 0.803 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001414/0.9795, allocations: 1.309 MB / 0.8042 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001202/0.9807, allocations: 0.6664 MB / 0.8049 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.124e-05/0.9807, allocations: 305.1 kB / 0.8052 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004998/0.9857, allocations: 2.585 MB / 0.8077 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005348/0.9911, allocations: 3.205 MB / 0.8108 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06962/1.061, allocations: 18.75 MB / 0.8291 GB, free: 108 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.518e-05/1.061, allocations: 4 kB / 0.8292 GB, free: 104 kB / 0.5294 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.05849/1.119, allocations: 16.93 MB / 0.8457 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.889e-05/1.119, allocations: 67.39 kB / 0.8458 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.113e-05/1.119, allocations: 13.12 kB / 0.8458 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02634/1.146, allocations: 7.225 MB / 0.8528 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003526/1.149, allocations: 0.6708 MB / 0.8535 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09718/1.247, allocations: 33.71 MB / 0.8864 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006312/1.253, allocations: 0.6016 MB / 0.887 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001046/1.254, allocations: 148 kB / 0.8871 GB, free: 4.523 MB / 0.5919 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 (398): * Single equations (assignments): 395 * 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,45)} Notification: Performance of prepare postOptimizeDAE: time 0.003172/1.257, allocations: 0.6721 MB / 0.8878 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002265/1.259, allocations: 454.4 kB / 0.8882 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06173/1.321, allocations: 16.85 MB / 0.9047 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001425/1.321, allocations: 19.92 kB / 0.9047 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/1.321, allocations: 2.844 kB / 0.9047 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001896/1.323, allocations: 0.5494 MB / 0.9052 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001736/1.325, allocations: 64 kB / 0.9053 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005497/1.331, allocations: 363.6 kB / 0.9056 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007496/1.338, allocations: 1.908 MB / 0.9075 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02923/1.367, allocations: 8.298 MB / 0.9156 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02165/1.389, allocations: 8.183 MB / 0.9236 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006019/1.395, allocations: 2.269 MB / 0.9258 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004225/1.399, allocations: 2.105 MB / 0.9279 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of Backend: time 8.31e-07/1.399, allocations: 0 / 0.9279 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02706/1.426, allocations: 6.983 MB / 0.9347 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of SimCode: time 0.01712/1.444, allocations: 8.866 MB / 0.9433 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of Templates: time 0.4607/1.904, allocations: 87.26 MB / 1.029 GB, free: 192.4 MB / 0.67 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)