Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Line.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Line") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001298/0.001302, allocations: 186.5 kB / 16.38 MB, free: 5.598 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.718/1.718, allocations: 194.5 MB / 211.6 MB, free: 8.484 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00183/0.00183, allocations: 112.6 kB / 256.9 MB, free: 11.11 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.2298/0.2298, allocations: 38 MB / 340.1 MB, free: 13.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004551/0.0004553, allocations: 19.97 kB / 403.8 MB, free: 55.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06932/0.06979, allocations: 53.22 MB / 457 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.004931/0.07477, allocations: 5.12 MB / 462.1 MB, free: 5.383 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002743/0.07754, allocations: 1.934 MB / 464.1 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002844/0.07785, allocations: 31.75 kB / 464.1 MB, free: 3.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003762/0.07824, allocations: 135.2 kB / 464.2 MB, free: 3.277 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006925/0.07895, allocations: 303 kB / 464.5 MB, free: 2.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008327/0.0798, allocations: 335.3 kB / 464.9 MB, free: 2.652 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005022/0.08032, allocations: 427.6 kB / 465.3 MB, free: 2.234 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008357/0.08117, allocations: 0.577 MB / 465.9 MB, free: 1.625 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003426/0.08153, allocations: 259.1 kB / 466.1 MB, free: 1.371 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005004/0.08205, allocations: 343 kB / 466.4 MB, free: 1.035 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.158e-05/0.08214, allocations: 24 kB / 466.5 MB, free: 1.012 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002414/0.08239, allocations: 107.8 kB / 466.6 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.0826, allocations: 239.4 kB / 466.8 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.08273, allocations: 133.4 kB / 466.9 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000586/0.08333, allocations: 0.6001 MB / 467.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.65e-06/0.08335, allocations: 0 / 467.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.799e-05/0.08338, allocations: 0 / 467.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.0834, allocations: 0 / 467.5 MB, free: 15.93 MB / 314.7 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.001672/0.08508, allocations: 0.8122 MB / 468.3 MB, free: 15.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.08513, allocations: 12.02 kB / 468.4 MB, free: 15.06 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.08631, allocations: 143.1 kB / 468.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.08743, allocations: 0.5069 MB / 469 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.397e-05/0.0875, allocations: 33 kB / 469 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000472/0.08798, allocations: 135.8 kB / 469.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.08956, allocations: 0.8431 MB / 470 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.0896, allocations: 4 kB / 470 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.468e-05/0.0897, allocations: 24 kB / 470 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004648/0.09018, allocations: 76.92 kB / 470.1 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.09149, allocations: 0.6126 MB / 470.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005896/0.0974, allocations: 3.781 MB / 474.5 MB, free: 8.629 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.09877, allocations: 0.5306 MB / 475 MB, free: 8.082 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.212e-05/0.09884, allocations: 16.42 kB / 475.1 MB, free: 8.066 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.09889, allocations: 35 kB / 475.1 MB, free: 8.023 MB / 314.7 MB Notification: Performance of pre-optimization done (n=48): time 4.87e-06/0.0989, allocations: 3.984 kB / 475.1 MB, free: 8.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.003934/0.1028, allocations: 1.833 MB / 476.9 MB, free: 6.137 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.1029, allocations: 81.55 kB / 477 MB, free: 6.039 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005673/0.1035, allocations: 421.7 kB / 477.4 MB, free: 5.621 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.871e-05/0.1036, allocations: 33.7 kB / 477.4 MB, free: 5.582 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/0.1039, allocations: 327.6 kB / 477.8 MB, free: 5.258 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.1041, allocations: 205.3 kB / 478 MB, free: 5.055 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.1042, allocations: 12 kB / 478 MB, free: 5.043 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002354/0.1045, allocations: 370.8 kB / 478.3 MB, free: 4.672 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007328/0.1052, allocations: 373.5 kB / 478.7 MB, free: 4.309 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009357/0.1061, allocations: 0.5901 MB / 479.3 MB, free: 3.621 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000951/0.1071, allocations: 473.8 kB / 479.8 MB, free: 3.156 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.733e-06/0.1071, allocations: 3.938 kB / 479.8 MB, free: 3.152 MB / 314.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.005477/0.1126, allocations: 1.988 MB / 481.8 MB, free: 1.148 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.1127, allocations: 12.09 kB / 481.8 MB, free: 1.137 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.1127, allocations: 8 kB / 481.8 MB, free: 1.129 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002965/0.1157, allocations: 0.9612 MB / 482.7 MB, free: 164 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005514/0.1162, allocations: 119.8 kB / 482.9 MB, free: 44 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01353/0.1298, allocations: 7.637 MB / 490.5 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005462/0.1304, allocations: 39.88 kB / 490.5 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-05/0.1305, allocations: 39.98 kB / 490.6 MB, free: 8.055 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(23,24.6%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004256/0.1309, allocations: 245.4 kB / 490.8 MB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.131, allocations: 51.39 kB / 490.9 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/0.1327, allocations: 0.7296 MB / 491.6 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.143e-06/0.1327, allocations: 4 kB / 491.6 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.937e-06/0.1327, allocations: 0 / 491.6 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.1327, allocations: 3.984 kB / 491.6 MB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003543/0.1363, allocations: 1.528 MB / 493.1 MB, free: 5.414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.406e-06/0.1363, allocations: 4 kB / 493.1 MB, free: 5.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/0.1376, allocations: 187.8 kB / 493.3 MB, free: 5.227 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.475e-05/0.1377, allocations: 7.984 kB / 493.3 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.03e-05/0.1377, allocations: 27.98 kB / 493.3 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.593e-06/0.1378, allocations: 4 kB / 493.3 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.339e-06/0.1378, allocations: 0 / 493.3 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/0.14, allocations: 1.04 MB / 494.4 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.1402, allocations: 120.5 kB / 494.5 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.1404, allocations: 36.19 kB / 494.5 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004012/0.1408, allocations: 27.97 kB / 494.6 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.308e-05/0.1409, allocations: 28.39 kB / 494.6 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.281e-05/0.1409, allocations: 16 kB / 494.6 MB, free: 3.855 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003788/0.1413, allocations: 283.1 kB / 494.9 MB, free: 3.582 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.59e-07/0.1414, allocations: 0 / 494.9 MB, free: 3.582 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009375/0.1423, allocations: 208 kB / 495.1 MB, free: 3.379 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001812/0.1425, allocations: 131.1 kB / 495.2 MB, free: 3.242 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003104/0.1456, allocations: 1.445 MB / 496.7 MB, free: 1.766 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.7e-06/0.1456, allocations: 0 / 496.7 MB, free: 1.766 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005917/0.1462, allocations: 303 kB / 497 MB, free: 1.473 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006007/0.1468, allocations: 121.6 kB / 497.1 MB, free: 1.352 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005696/0.1526, allocations: 3.247 MB / 0.4886 GB, free: 14.06 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008327/0.1534, allocations: 1 MB / 0.4896 GB, free: 13.03 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007364/0.1542, allocations: 200.6 kB / 0.4898 GB, free: 12.83 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.1544, allocations: 43.44 kB / 0.4898 GB, free: 12.79 MB / 346.7 MB Notification: Performance of SimCode: time 5.068e-06/0.1544, allocations: 0 / 0.4898 GB, free: 12.79 MB / 346.7 MB Notification: Performance of Templates: time 0.02259/0.177, allocations: 9.766 MB / 0.4993 GB, free: 3.031 MB / 346.7 MB