Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 111 kB / 17.06 MB, free: 5.965 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.001119/0.001119, allocations: 198.9 kB / 18.01 MB, free: 5.055 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.621/1.621, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.196/0.196, allocations: 37.99 MB / 309.2 MB, free: 5.949 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.001542/0.001542, allocations: 67.91 kB / 431.9 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1347, allocations: 55.24 MB / 487.1 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.006195/0.1409, allocations: 4.402 MB / 491.5 MB, free: 3.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002774/0.1438, allocations: 1.574 MB / 493.1 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002342/0.144, allocations: 11.94 kB / 493.1 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000936/0.145, allocations: 278.7 kB / 493.4 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006368/0.1456, allocations: 282.7 kB / 493.6 MB, free: 1.766 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00067/0.1463, allocations: 251.4 kB / 493.9 MB, free: 1.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006307/0.147, allocations: 0.6079 MB / 494.5 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003774/0.1473, allocations: 231.5 kB / 494.7 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003374/0.1477, allocations: 271 kB / 495 MB, free: 432 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005043/0.1482, allocations: 366.8 kB / 495.3 MB, free: 64 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.661e-05/0.1483, allocations: 40 kB / 495.4 MB, free: 24 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004032/0.1487, allocations: 227.6 kB / 495.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002351/0.1489, allocations: 235.4 kB / 495.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002551/0.1492, allocations: 246.8 kB / 496.1 MB, free: 15.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007007/0.1499, allocations: 0.6698 MB / 496.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1499, allocations: 0 / 496.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1499, allocations: 0 / 496.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.1499, allocations: 0 / 496.7 MB, free: 14.66 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001388/0.1513, allocations: 0.7699 MB / 497.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1514, allocations: 15.89 kB / 497.5 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000647/0.152, allocations: 96.2 kB / 497.6 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006644/0.1527, allocations: 419.2 kB / 498 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/0.1528, allocations: 29.38 kB / 498.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/0.1529, allocations: 44.11 kB / 498.1 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009949/0.1539, allocations: 0.7032 MB / 498.8 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.154, allocations: 3.938 kB / 498.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.007e-05/0.154, allocations: 19.92 kB / 498.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002051/0.1542, allocations: 72.94 kB / 498.9 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009721/0.1552, allocations: 0.6635 MB / 499.6 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003648/0.1589, allocations: 2.65 MB / 0.4905 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005575/0.1594, allocations: 321.3 kB / 0.4908 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/0.1597, allocations: 201.6 kB / 0.4909 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.057e-05/0.1598, allocations: 7.984 kB / 0.491 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.1598, allocations: 38.56 kB / 0.491 GB, free: 8.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 3.567e-06/0.1598, allocations: 0 / 0.491 GB, free: 8.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002106/0.162, allocations: 1.291 MB / 0.4923 GB, free: 6.977 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.162, allocations: 89.05 kB / 0.4923 GB, free: 6.871 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.1623, allocations: 287.2 kB / 0.4926 GB, free: 6.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.1624, allocations: 37.64 kB / 0.4926 GB, free: 6.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.1626, allocations: 251.7 kB / 0.4929 GB, free: 6.289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.1627, allocations: 141.9 kB / 0.493 GB, free: 6.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.1628, allocations: 86.03 kB / 0.4931 GB, free: 6.059 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.163, allocations: 354.9 kB / 0.4934 GB, free: 5.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.1633, allocations: 184.9 kB / 0.4936 GB, free: 5.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/0.1636, allocations: 325.3 kB / 0.4939 GB, free: 5.148 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006407/0.1643, allocations: 0.5546 MB / 0.4945 GB, free: 4.535 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1643, allocations: 0 / 0.4945 GB, free: 4.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001225/0.1655, allocations: 0.6738 MB / 0.4951 GB, free: 3.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.1655, allocations: 11.98 kB / 0.4951 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008068/0.1664, allocations: 492 kB / 0.4956 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004414/0.1668, allocations: 113.6 kB / 0.4957 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.1671, allocations: 83.89 kB / 0.4958 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002965/0.1701, allocations: 3.262 MB / 0.499 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.1704, allocations: 19.92 kB / 0.499 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-05/0.1705, allocations: 20 kB / 0.499 GB, free: 15.57 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0003024/0.1708, allocations: 217.7 kB / 0.4992 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.97e-05/0.1709, allocations: 35.72 kB / 0.4993 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008415/0.1717, allocations: 468.7 kB / 0.4997 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/0.1718, allocations: 19.92 kB / 0.4997 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.1718, allocations: 0 / 0.4997 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1718, allocations: 3.938 kB / 0.4997 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.1732, allocations: 1.015 MB / 0.5007 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.1732, allocations: 4 kB / 0.5007 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003372/0.1736, allocations: 67.89 kB / 0.5008 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.1736, allocations: 7.938 kB / 0.5008 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.1736, allocations: 12 kB / 0.5008 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.1736, allocations: 7.922 kB / 0.5008 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.1736, allocations: 4 kB / 0.5008 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009147/0.1746, allocations: 0.7395 MB / 0.5015 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.1747, allocations: 144.6 kB / 0.5017 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.385e-05/0.1748, allocations: 7.938 kB / 0.5017 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.175, allocations: 15.98 kB / 0.5017 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.175, allocations: 31.91 kB / 0.5017 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.1751, allocations: 4 kB / 0.5017 GB, free: 12.65 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001971/0.1753, allocations: 211.1 kB / 0.5019 GB, free: 12.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1753, allocations: 0 / 0.5019 GB, free: 12.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005101/0.1758, allocations: 108 kB / 0.502 GB, free: 12.34 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 simulation (30): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002423/0.176, allocations: 143.1 kB / 0.5022 GB, free: 12.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.1771, allocations: 0.7005 MB / 0.5029 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1771, allocations: 0 / 0.5029 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002599/0.1773, allocations: 213.4 kB / 0.5031 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.1779, allocations: 81.09 kB / 0.5031 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.1796, allocations: 1.115 MB / 0.5042 GB, free: 10.03 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004959/0.1801, allocations: 0.8668 MB / 0.5051 GB, free: 9.137 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002615/0.1804, allocations: 111.2 kB / 0.5052 GB, free: 9.031 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.428e-05/0.1805, allocations: 31.44 kB / 0.5052 GB, free: 9 MB / 398.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1805, allocations: 0 / 0.5052 GB, free: 9 MB / 398.1 MB Notification: Performance of Templates: time 0.00931/0.1898, allocations: 4.384 MB / 0.5095 GB, free: 4.609 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1)