Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.conf.json 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/Complex 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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001848/0.001849, allocations: 114.2 kB / 17.75 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002029/0.00203, allocations: 185.4 kB / 18.68 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1859/0.1859, allocations: 37.98 MB / 309.9 MB, free: 5.953 MB / 254.1 MB 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: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 67.91 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09927/0.1013, allocations: 55.25 MB / 487.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.008873/0.1102, allocations: 7.447 MB / 495.2 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004532/0.1148, allocations: 3.042 MB / 498.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002974/0.1151, allocations: 23.88 kB / 498.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001886/0.117, allocations: 0.7861 MB / 499.1 MB, free: 12.98 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. Notification: Performance of NFTyping.typeBindings: time 0.001355/0.1184, allocations: 0.6843 MB / 499.8 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007905/0.1192, allocations: 371.2 kB / 0.4884 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00152/0.1207, allocations: 1.328 MB / 0.4897 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000946/0.1217, allocations: 0.7447 MB / 0.4904 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006447/0.1224, allocations: 0.5643 MB / 0.491 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008752/0.1232, allocations: 0.6228 MB / 0.4916 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.1234, allocations: 79.98 kB / 0.4917 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008097/0.1242, allocations: 479.1 kB / 0.4921 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004156/0.1246, allocations: 458.9 kB / 0.4926 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005181/0.1251, allocations: 0.4976 MB / 0.4931 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.1266, allocations: 1.429 MB / 0.4945 GB, free: 5.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1266, allocations: 4 kB / 0.4945 GB, free: 5.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1267, allocations: 0 / 0.4945 GB, free: 5.719 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.1267, allocations: 0 / 0.4945 GB, free: 5.719 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002138/0.1288, allocations: 1.262 MB / 0.4957 GB, free: 4.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1289, allocations: 11.89 kB / 0.4957 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.1301, allocations: 203.5 kB / 0.4959 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.1315, allocations: 0.7216 MB / 0.4966 GB, free: 3.434 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.744e-05/0.1316, allocations: 58.38 kB / 0.4967 GB, free: 3.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/0.1318, allocations: 103.9 kB / 0.4968 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.1334, allocations: 1.115 MB / 0.4978 GB, free: 2.113 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.902e-05/0.1334, allocations: 4 kB / 0.4979 GB, free: 2.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.756e-05/0.1335, allocations: 31.98 kB / 0.4979 GB, free: 2.078 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001606/0.1337, allocations: 73.95 kB / 0.498 GB, free: 2.004 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.135, allocations: 0.886 MB / 0.4988 GB, free: 1.121 MB / 382.1 MB 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.005513/0.1405, allocations: 4.05 MB / 0.5028 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006982/0.1412, allocations: 422 kB / 0.5032 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003635/0.1416, allocations: 265.6 kB / 0.5034 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.627e-05/0.1417, allocations: 15.92 kB / 0.5034 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.1417, allocations: 42.44 kB / 0.5035 GB, free: 12.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.495e-06/0.1417, allocations: 0 / 0.5035 GB, free: 12.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=52): time 0.004147/0.1459, allocations: 1.982 MB / 0.5054 GB, free: 10.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.1459, allocations: 81.55 kB / 0.5055 GB, free: 9.941 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006086/0.1466, allocations: 0.577 MB / 0.5061 GB, free: 9.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.1466, allocations: 33.7 kB / 0.5061 GB, free: 9.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.1469, allocations: 478.5 kB / 0.5065 GB, free: 8.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.147, allocations: 189.3 kB / 0.5067 GB, free: 8.652 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.1472, allocations: 142.5 kB / 0.5069 GB, free: 8.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1474, allocations: 386.7 kB / 0.5072 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004041/0.1478, allocations: 265.8 kB / 0.5075 GB, free: 7.859 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005755/0.1484, allocations: 0.5081 MB / 0.508 GB, free: 7.25 MB / 398.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.003023/0.1514, allocations: 1.404 MB / 0.5094 GB, free: 5.742 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.1515, allocations: 8 kB / 0.5094 GB, free: 5.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00182/0.1533, allocations: 1.084 MB / 0.5104 GB, free: 4.613 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1533, allocations: 12.06 kB / 0.5104 GB, free: 4.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001171/0.1545, allocations: 0.7483 MB / 0.5112 GB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005084/0.155, allocations: 170.4 kB / 0.5113 GB, free: 3.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/0.1556, allocations: 179.7 kB / 0.5115 GB, free: 3.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004102/0.1597, allocations: 4.852 MB / 0.5162 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000506/0.1603, allocations: 39.97 kB / 0.5163 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/0.1603, allocations: 32 kB / 0.5163 GB, free: 14.13 MB / 414.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: generator.w_el = generator.omega[1] + generator.omega[2]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004545/0.1608, allocations: 321.5 kB / 0.5166 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.1609, allocations: 71.09 kB / 0.5167 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.162, allocations: 0.6357 MB / 0.5173 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.162, allocations: 3.984 kB / 0.5173 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.162, allocations: 0 / 0.5173 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/0.1623, allocations: 188.1 kB / 0.5175 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.345e-05/0.1623, allocations: 16 kB / 0.5175 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000337/0.1627, allocations: 19.97 kB / 0.5175 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.128e-05/0.1628, allocations: 36.39 kB / 0.5176 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001388/0.1642, allocations: 0.8188 MB / 0.5184 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001368/0.1655, allocations: 1.149 MB / 0.5195 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000351/0.1659, allocations: 271.5 kB / 0.5197 GB, free: 10.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004964/0.1664, allocations: 411 kB / 0.5201 GB, free: 10.15 MB / 414.1 MB Notification: Performance of Backend: time 6.01e-07/0.1664, allocations: 0 / 0.5201 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002454/0.1689, allocations: 1.046 MB / 0.5211 GB, free: 9.059 MB / 414.1 MB Notification: Performance of SimCode: time 0.003053/0.172, allocations: 2.276 MB / 0.5234 GB, free: 6.73 MB / 414.1 MB Notification: Performance of Templates: time 0.2278/0.3998, allocations: 11.17 MB / 0.5343 GB, free: 50.29 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1)