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.07357/0.07357, allocations: 12.6 MB / 28.91 MB, free: 0.6289 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.001065/0.001066, allocations: 111.5 kB / 32.51 MB, free: 3.57 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.277/1.277, allocations: 205.1 MB / 241.1 MB, free: 12.38 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.001422/0.001422, allocations: 188.5 kB / 291.4 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4433/0.4433, allocations: 78.5 MB / 420 MB, free: 11.25 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.002626/0.002626, allocations: 142.4 kB / 0.5566 GB, free: 28.48 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1155, allocations: 68.13 MB / 0.6232 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01878/0.1344, allocations: 21.73 MB / 0.6444 GB, free: 9.582 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.1452, allocations: 4.787 MB / 0.6491 GB, free: 4.777 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004502/0.1497, allocations: 47.94 kB / 0.6491 GB, free: 4.73 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00299/0.1527, allocations: 0.8789 MB / 0.65 GB, free: 3.844 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.00711/0.1599, allocations: 2.299 MB / 0.6522 GB, free: 1.539 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005162/0.1651, allocations: 2.042 MB / 0.6542 GB, free: 15.53 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00768/0.1727, allocations: 5.697 MB / 0.6598 GB, free: 9.805 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002279/0.175, allocations: 1.318 MB / 0.6611 GB, free: 8.434 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00335/0.1784, allocations: 2.318 MB / 0.6633 GB, free: 6.105 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003877/0.1823, allocations: 2.932 MB / 0.6662 GB, free: 3.16 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001355/0.1837, allocations: 436 kB / 0.6666 GB, free: 2.734 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.1856, allocations: 0.5819 MB / 0.6672 GB, free: 2.152 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001359/0.1869, allocations: 1.147 MB / 0.6683 GB, free: 1 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003064/0.19, allocations: 2.606 MB / 0.6708 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006482/0.1965, allocations: 6.204 MB / 0.6769 GB, free: 8.152 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.1965, allocations: 7.938 kB / 0.6769 GB, free: 8.145 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1965, allocations: 0 / 0.6769 GB, free: 8.145 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001628/0.1967, allocations: 0 / 0.6769 GB, free: 8.145 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.03114/0.2279, allocations: 9.115 MB / 0.6858 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.2279, allocations: 15.98 kB / 0.6858 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02761/0.2555, allocations: 4.005 MB / 0.6897 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00554/0.2611, allocations: 2.647 MB / 0.6923 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001007/0.2621, allocations: 0.9611 MB / 0.6933 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001142/0.2633, allocations: 359.9 kB / 0.6936 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01057/0.2739, allocations: 4.719 MB / 0.6982 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.987e-05/0.274, allocations: 7.938 kB / 0.6982 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004284/0.2744, allocations: 140 kB / 0.6983 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-05/0.2745, allocations: 84 kB / 0.6984 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009365/0.2838, allocations: 4.244 MB / 0.7026 GB, free: 13.5 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.2799/0.5638, allocations: 18.17 MB / 0.7203 GB, free: 70.57 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01298/0.5768, allocations: 4.996 MB / 0.7252 GB, free: 69.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005979/0.5828, allocations: 2.775 MB / 0.7279 GB, free: 68.59 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004153/0.5832, allocations: 70.78 kB / 0.728 GB, free: 68.58 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00679/0.59, allocations: 3.174 MB / 0.7311 GB, free: 67.46 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=382): time 6.903e-06/0.59, allocations: 0 / 0.7311 GB, free: 67.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=382): time 0.3003/0.8904, allocations: 68.2 MB / 0.7977 GB, free: 16.85 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.8904, allocations: 141.8 kB / 0.7978 GB, free: 16.69 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003745/0.8942, allocations: 3.219 MB / 0.801 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0009759/0.8952, allocations: 89.7 kB / 0.801 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00109/0.8963, allocations: 1.964 MB / 0.803 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001498/0.8978, allocations: 1.313 MB / 0.8042 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001286/0.8991, allocations: 0.6703 MB / 0.8049 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 3.741e-05/0.8991, allocations: 309 kB / 0.8052 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005106/0.9043, allocations: 2.573 MB / 0.8077 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005505/0.9098, allocations: 3.209 MB / 0.8108 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07163/0.9814, allocations: 18.76 MB / 0.8292 GB, free: 392 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.895e-05/0.9815, allocations: 4 kB / 0.8292 GB, free: 388 kB / 0.5294 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.06009/1.042, allocations: 16.93 MB / 0.8457 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.626e-05/1.042, allocations: 63.41 kB / 0.8458 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.224e-05/1.042, allocations: 16 kB / 0.8458 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02793/1.07, allocations: 7.225 MB / 0.8528 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003529/1.073, allocations: 0.667 MB / 0.8535 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09883/1.172, allocations: 33.71 MB / 0.8864 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006231/1.178, allocations: 0.5977 MB / 0.887 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001038/1.179, allocations: 156 kB / 0.8871 GB, free: 4.801 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.002892/1.182, allocations: 0.6715 MB / 0.8878 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001538/1.184, allocations: 450.4 kB / 0.8882 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06168/1.246, allocations: 16.85 MB / 0.9047 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001127/1.246, allocations: 19.92 kB / 0.9047 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/1.246, allocations: 0 / 0.9047 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001504/1.247, allocations: 0.5493 MB / 0.9052 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001545/1.249, allocations: 67.98 kB / 0.9053 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004961/1.254, allocations: 359.6 kB / 0.9056 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007077/1.261, allocations: 1.912 MB / 0.9075 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02755/1.288, allocations: 8.299 MB / 0.9156 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01987/1.308, allocations: 8.175 MB / 0.9236 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005997/1.314, allocations: 2.272 MB / 0.9258 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00372/1.318, allocations: 2.105 MB / 0.9279 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of Backend: time 1.153e-06/1.318, allocations: 0 / 0.9279 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0251/1.343, allocations: 6.987 MB / 0.9347 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of SimCode: time 0.01368/1.357, allocations: 8.854 MB / 0.9433 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of Templates: time 0.3572/1.714, allocations: 87.28 MB / 1.029 GB, free: 192.8 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)