Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001218, allocations: 104.3 kB / 17.74 MB, free: 5.363 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.001225/0.001225, allocations: 179.1 kB / 18.66 MB, free: 4.445 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.399/1.399, allocations: 205.1 MB / 224.5 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.1832/0.1832, allocations: 37.98 MB / 309.9 MB, free: 5.957 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.00142/0.00142, allocations: 71.89 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.097/0.09843, allocations: 55.24 MB / 487.8 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.007012/0.1055, allocations: 5.173 MB / 493 MB, free: 3.148 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003315/0.1088, allocations: 1.8 MB / 494.8 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004534/0.1093, allocations: 19.88 kB / 494.8 MB, free: 1.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.1108, allocations: 442.5 kB / 495.2 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009258/0.1118, allocations: 306.4 kB / 495.5 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.1129, allocations: 355.2 kB / 495.8 MB, free: 244 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.114, allocations: 0.7636 MB / 496.6 MB, free: 15.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006569/0.1147, allocations: 378.1 kB / 497 MB, free: 15.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006706/0.1154, allocations: 338.7 kB / 497.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008402/0.1162, allocations: 454.6 kB / 497.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.1164, allocations: 52 kB / 497.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004498/0.1169, allocations: 175.8 kB / 498 MB, free: 14.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003118/0.1172, allocations: 287.3 kB / 498.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004887/0.1177, allocations: 338.3 kB / 498.6 MB, free: 13.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009934/0.1187, allocations: 0.8138 MB / 499.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1187, allocations: 0 / 499.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1187, allocations: 0 / 499.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.951e-05/0.1187, allocations: 0 / 499.4 MB, free: 12.67 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001996/0.1207, allocations: 0.9059 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.1208, allocations: 15.89 kB / 0.4886 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.122, allocations: 132.1 kB / 0.4887 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.123, allocations: 0.5508 MB / 0.4893 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/0.1231, allocations: 37.11 kB / 0.4893 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003841/0.1235, allocations: 135.8 kB / 0.4894 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.1248, allocations: 0.8548 MB / 0.4903 GB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.1249, allocations: 7.938 kB / 0.4903 GB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-05/0.1249, allocations: 19.98 kB / 0.4903 GB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000598/0.1255, allocations: 76.94 kB / 0.4904 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.127, allocations: 0.6166 MB / 0.491 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004818/0.1319, allocations: 3.781 MB / 0.4947 GB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.133, allocations: 0.5383 MB / 0.4952 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004537/0.1335, allocations: 322.9 kB / 0.4955 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.567e-05/0.1336, allocations: 4.438 kB / 0.4955 GB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.1336, allocations: 54.86 kB / 0.4955 GB, free: 4.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.916e-06/0.1336, allocations: 3.938 kB / 0.4956 GB, free: 4.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=49): time 0.00305/0.1367, allocations: 1.828 MB / 0.4973 GB, free: 2.398 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.1367, allocations: 81.55 kB / 0.4974 GB, free: 2.301 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004537/0.1372, allocations: 425.8 kB / 0.4978 GB, free: 1.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/0.1373, allocations: 37.7 kB / 0.4979 GB, free: 1.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.1375, allocations: 331.6 kB / 0.4982 GB, free: 1.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/0.1377, allocations: 193.3 kB / 0.4984 GB, free: 1.309 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.1379, allocations: 150.2 kB / 0.4985 GB, free: 1.152 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1381, allocations: 366.7 kB / 0.4988 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005246/0.1386, allocations: 381.5 kB / 0.4992 GB, free: 424 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006893/0.1393, allocations: 0.6057 MB / 0.4998 GB, free: 15.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.1407, allocations: 1.061 MB / 0.5008 GB, free: 14.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.1407, allocations: 0 / 0.5008 GB, free: 14.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004455/0.1452, allocations: 2.007 MB / 0.5028 GB, free: 12.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.1452, allocations: 8 kB / 0.5028 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.698e-05/0.1453, allocations: 12 kB / 0.5028 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002436/0.1477, allocations: 0.969 MB / 0.5038 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/0.1482, allocations: 119.8 kB / 0.5039 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/0.1594, allocations: 8.181 MB / 0.5119 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005959/0.16, allocations: 35.97 kB / 0.5119 GB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.1602, allocations: 39.97 kB / 0.5119 GB, free: 2.879 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * Array equations: 0 * 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,6,100.0%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000429/0.1606, allocations: 253.7 kB / 0.5122 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.1607, allocations: 47.44 kB / 0.5122 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.162, allocations: 0.7256 MB / 0.5129 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1621, allocations: 8 kB / 0.5129 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1621, allocations: 3.938 kB / 0.5129 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.1621, allocations: 3.984 kB / 0.513 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002653/0.1647, allocations: 1.521 MB / 0.5144 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.1648, allocations: 8.156 kB / 0.5144 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.1658, allocations: 191.8 kB / 0.5146 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.1659, allocations: 0 / 0.5146 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.735e-05/0.1659, allocations: 31.92 kB / 0.5147 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-06/0.1659, allocations: 4 kB / 0.5147 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1659, allocations: 0 / 0.5147 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.1674, allocations: 0.9972 MB / 0.5156 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.1675, allocations: 128.5 kB / 0.5158 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.1677, allocations: 23.98 kB / 0.5158 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003619/0.168, allocations: 23.97 kB / 0.5158 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.1681, allocations: 32.39 kB / 0.5158 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.093e-05/0.1682, allocations: 16 kB / 0.5159 GB, free: 14.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003544/0.1685, allocations: 287.1 kB / 0.5161 GB, free: 14.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1685, allocations: 0 / 0.5161 GB, free: 14.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008888/0.1694, allocations: 212 kB / 0.5163 GB, free: 14.26 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * 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.0001938/0.1696, allocations: 131.2 kB / 0.5165 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002936/0.1726, allocations: 1.473 MB / 0.5179 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.1726, allocations: 0 / 0.5179 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004615/0.1731, allocations: 310.3 kB / 0.5182 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000774/0.1739, allocations: 137.8 kB / 0.5183 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004529/0.1784, allocations: 2.748 MB / 0.521 GB, free: 9.383 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/0.1791, allocations: 0.9843 MB / 0.522 GB, free: 8.371 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.1793, allocations: 47.44 kB / 0.522 GB, free: 8.324 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1793, allocations: 0 / 0.522 GB, free: 8.324 MB / 414.1 MB Notification: Performance of Templates: time 0.2283/0.4076, allocations: 10.98 MB / 0.5327 GB, free: 50.6 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1)