Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002563/0.002568, allocations: 361.4 kB / 17.21 MB, free: 4.926 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 3.959/3.959, allocations: 388.9 MB / 406.8 MB, free: 12.01 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003576/0.003576, allocations: 223.9 kB / 452.2 MB, free: 14.61 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7468/0.7468, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004474/0.0004477, allocations: 8 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09322/0.09369, allocations: 53.24 MB / 0.6742 GB, free: 60.81 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.007559/0.1013, allocations: 6.747 MB / 0.6808 GB, free: 54.04 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006701/0.1081, allocations: 4.14 MB / 0.6849 GB, free: 49.88 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003581/0.1085, allocations: 15.94 kB / 0.6849 GB, free: 49.86 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003971/0.1089, allocations: 139 kB / 0.685 GB, free: 49.73 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002364/0.1112, allocations: 0.8323 MB / 0.6858 GB, free: 48.89 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008183/0.1121, allocations: 227.3 kB / 0.686 GB, free: 48.67 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001913/0.114, allocations: 1.909 MB / 0.6879 GB, free: 46.75 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002564/0.1166, allocations: 1.169 MB / 0.689 GB, free: 45.56 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.1176, allocations: 481.7 kB / 0.6895 GB, free: 45.09 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/0.1188, allocations: 0.6658 MB / 0.6902 GB, free: 44.42 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.1189, allocations: 35.94 kB / 0.6902 GB, free: 44.38 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00204/0.121, allocations: 0.7282 MB / 0.6909 GB, free: 43.65 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004471/0.1214, allocations: 458.9 kB / 0.6913 GB, free: 43.2 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.1216, allocations: 165.3 kB / 0.6915 GB, free: 43.04 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.123, allocations: 1.029 MB / 0.6925 GB, free: 42 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.123, allocations: 4 kB / 0.6925 GB, free: 42 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1231, allocations: 0 / 0.6925 GB, free: 42 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.1231, allocations: 0 / 0.6925 GB, free: 42 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001818/0.1249, allocations: 0.995 MB / 0.6935 GB, free: 40.95 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.125, allocations: 8.031 kB / 0.6935 GB, free: 40.95 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004779/0.1297, allocations: 438.4 kB / 0.6939 GB, free: 40.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008682/0.1306, allocations: 473.5 kB / 0.6944 GB, free: 40.01 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.262e-05/0.1307, allocations: 57.94 kB / 0.6944 GB, free: 39.96 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/0.1309, allocations: 71.98 kB / 0.6945 GB, free: 39.89 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/0.1333, allocations: 1.168 MB / 0.6956 GB, free: 38.69 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.621e-05/0.1334, allocations: 0 / 0.6956 GB, free: 38.69 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.1335, allocations: 31.98 kB / 0.6956 GB, free: 38.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001238/0.1336, allocations: 73.95 kB / 0.6957 GB, free: 38.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002639/0.1363, allocations: 1.233 MB / 0.6969 GB, free: 37.35 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007347/0.1436, allocations: 3.531 MB / 0.7004 GB, free: 33.72 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00235/0.146, allocations: 1.053 MB / 0.7014 GB, free: 32.65 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001245/0.1473, allocations: 0.6604 MB / 0.702 GB, free: 31.99 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.762e-05/0.1474, allocations: 16.98 kB / 0.7021 GB, free: 31.97 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.1474, allocations: 47.78 kB / 0.7021 GB, free: 31.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=91): time 3.787e-06/0.1475, allocations: 0 / 0.7021 GB, free: 31.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=92): time 0.01023/0.1577, allocations: 3.052 MB / 0.7051 GB, free: 28.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.1578, allocations: 90.11 kB / 0.7052 GB, free: 28.73 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004643/0.1583, allocations: 353.7 kB / 0.7055 GB, free: 28.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.271e-05/0.1584, allocations: 45.73 kB / 0.7056 GB, free: 28.33 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.1586, allocations: 324 kB / 0.7059 GB, free: 28 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/0.1589, allocations: 315.3 kB / 0.7062 GB, free: 27.69 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.975e-05/0.1589, allocations: 16 kB / 0.7062 GB, free: 27.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.159, allocations: 362.8 kB / 0.7065 GB, free: 27.31 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009892/0.16, allocations: 465.7 kB / 0.707 GB, free: 26.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.1611, allocations: 0.5696 MB / 0.7075 GB, free: 26.26 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.1623, allocations: 0.5378 MB / 0.7081 GB, free: 25.72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.1623, allocations: 8 kB / 0.7081 GB, free: 25.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003605/0.166, allocations: 1.462 MB / 0.7095 GB, free: 24.24 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.166, allocations: 8 kB / 0.7095 GB, free: 24.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.166, allocations: 0 / 0.7095 GB, free: 24.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001478/0.1675, allocations: 345.3 kB / 0.7098 GB, free: 23.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.1688, allocations: 179.7 kB / 0.71 GB, free: 23.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007099/0.1759, allocations: 3.864 MB / 0.7138 GB, free: 19.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009666/0.177, allocations: 51.86 kB / 0.7138 GB, free: 19.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.1771, allocations: 35.98 kB / 0.7139 GB, free: 19.61 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005226/0.1776, allocations: 297.7 kB / 0.7141 GB, free: 19.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.1778, allocations: 59.3 kB / 0.7142 GB, free: 19.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003892/0.1817, allocations: 1.559 MB / 0.7157 GB, free: 17.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.1817, allocations: 3.984 kB / 0.7157 GB, free: 17.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.1818, allocations: 0 / 0.7157 GB, free: 17.67 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/0.182, allocations: 148.3 kB / 0.7159 GB, free: 17.51 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.1821, allocations: 16 kB / 0.7159 GB, free: 17.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007452/0.1829, allocations: 43.94 kB / 0.7159 GB, free: 17.45 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/0.1831, allocations: 84.86 kB / 0.716 GB, free: 17.37 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004795/0.1879, allocations: 1.746 MB / 0.7177 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003509/0.1914, allocations: 1.943 MB / 0.7196 GB, free: 13.65 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001017/0.1925, allocations: 0.5191 MB / 0.7201 GB, free: 13.13 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003547/0.1929, allocations: 259.1 kB / 0.7204 GB, free: 12.88 MB / 442.7 MB Notification: Performance of Backend: time 7.51e-07/0.1929, allocations: 0 / 0.7204 GB, free: 12.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003575/0.1965, allocations: 1.248 MB / 0.7216 GB, free: 11.61 MB / 442.7 MB Notification: Performance of SimCode: time 0.003065/0.1995, allocations: 2.228 MB / 0.7237 GB, free: 9.332 MB / 442.7 MB Notification: Performance of Templates: time 0.3258/0.5254, allocations: 14.84 MB / 0.7382 GB, free: 127.5 MB / 442.7 MB