Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Generic.Network.NetworkLoop.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Generic.Network.NetworkLoop") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002593/0.002597, 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.818/3.818, allocations: 388.9 MB / 406.8 MB, free: 11.92 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.003564/0.003564, allocations: 237.2 kB / 452.2 MB, free: 14.52 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.7952/0.7952, allocations: 76 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004416/0.0004423, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0912/0.09166, allocations: 53.23 MB / 0.6742 GB, free: 60.83 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.007939/0.09966, allocations: 6.794 MB / 0.6809 GB, free: 54.01 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007145/0.1069, allocations: 4.159 MB / 0.6849 GB, free: 49.84 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006592/0.1076, allocations: 15.94 kB / 0.6849 GB, free: 49.82 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004745/0.1081, allocations: 139 kB / 0.6851 GB, free: 49.68 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003019/0.1111, allocations: 0.8362 MB / 0.6859 GB, free: 48.84 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.1122, allocations: 231.2 kB / 0.6861 GB, free: 48.62 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002253/0.1144, allocations: 1.905 MB / 0.688 GB, free: 46.71 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002687/0.1172, allocations: 1.169 MB / 0.6891 GB, free: 45.51 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.1184, allocations: 489.6 kB / 0.6896 GB, free: 45.03 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.1195, allocations: 0.6659 MB / 0.6902 GB, free: 44.36 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.1197, allocations: 32 kB / 0.6903 GB, free: 44.33 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.1218, allocations: 0.7281 MB / 0.691 GB, free: 43.6 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005954/0.1224, allocations: 446.9 kB / 0.6914 GB, free: 43.16 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002407/0.1227, allocations: 169.3 kB / 0.6916 GB, free: 42.99 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001788/0.1245, allocations: 1.041 MB / 0.6926 GB, free: 41.95 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1245, allocations: 0 / 0.6926 GB, free: 41.95 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1246, allocations: 4 kB / 0.6926 GB, free: 41.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.1246, allocations: 0 / 0.6926 GB, free: 41.95 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.001961/0.1265, allocations: 0.9834 MB / 0.6935 GB, free: 40.91 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.1266, allocations: 16.02 kB / 0.6935 GB, free: 40.89 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004922/0.1315, allocations: 430.4 kB / 0.694 GB, free: 40.47 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.1326, allocations: 469.5 kB / 0.6944 GB, free: 39.97 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.474e-05/0.1327, allocations: 57.94 kB / 0.6945 GB, free: 39.92 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.1329, allocations: 71.98 kB / 0.6945 GB, free: 39.85 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002497/0.1354, allocations: 1.168 MB / 0.6957 GB, free: 38.65 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.071e-05/0.1355, allocations: 4 kB / 0.6957 GB, free: 38.65 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.1356, allocations: 27.98 kB / 0.6957 GB, free: 38.62 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001262/0.1357, allocations: 73.95 kB / 0.6958 GB, free: 38.55 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002617/0.1384, allocations: 1.237 MB / 0.697 GB, free: 37.31 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007583/0.146, allocations: 3.527 MB / 0.7004 GB, free: 33.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/0.1484, allocations: 1.061 MB / 0.7015 GB, free: 32.61 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.1498, allocations: 0.6643 MB / 0.7021 GB, free: 31.94 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.1499, allocations: 12.98 kB / 0.7021 GB, free: 31.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.15, allocations: 47.78 kB / 0.7022 GB, free: 31.87 MB / 442.7 MB Notification: Performance of pre-optimization done (n=91): time 3.526e-06/0.15, allocations: 0 / 0.7022 GB, free: 31.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=92): time 0.01002/0.16, allocations: 3.056 MB / 0.7052 GB, free: 28.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.1601, allocations: 86.11 kB / 0.7052 GB, free: 28.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004573/0.1605, allocations: 361.6 kB / 0.7056 GB, free: 28.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.102e-05/0.1606, allocations: 37.7 kB / 0.7056 GB, free: 28.28 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.1608, allocations: 316.1 kB / 0.7059 GB, free: 27.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000289/0.1611, allocations: 319.3 kB / 0.7062 GB, free: 27.65 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-05/0.1612, allocations: 24.03 kB / 0.7062 GB, free: 27.62 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.853e-05/0.1613, allocations: 366.7 kB / 0.7066 GB, free: 27.26 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.1623, allocations: 465.7 kB / 0.707 GB, free: 26.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.1634, allocations: 0.5618 MB / 0.7076 GB, free: 26.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.1646, allocations: 0.5495 MB / 0.7081 GB, free: 25.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1646, allocations: 0 / 0.7081 GB, free: 25.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003665/0.1683, allocations: 1.458 MB / 0.7095 GB, free: 24.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.1684, allocations: 16.02 kB / 0.7096 GB, free: 24.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.1684, allocations: 4 kB / 0.7096 GB, free: 24.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001548/0.1699, allocations: 337.2 kB / 0.7099 GB, free: 23.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.1714, allocations: 179.7 kB / 0.7101 GB, free: 23.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007348/0.1788, allocations: 3.864 MB / 0.7138 GB, free: 19.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009388/0.1798, allocations: 43.95 kB / 0.7139 GB, free: 19.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.1799, allocations: 35.98 kB / 0.7139 GB, free: 19.56 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.0005245/0.1804, allocations: 285.6 kB / 0.7142 GB, free: 19.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.1806, allocations: 67.34 kB / 0.7142 GB, free: 19.21 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003987/0.1846, allocations: 1.555 MB / 0.7158 GB, free: 17.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.22e-05/0.1846, allocations: 3.984 kB / 0.7158 GB, free: 17.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.1847, allocations: 8 kB / 0.7158 GB, free: 17.63 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002322/0.1849, allocations: 140.3 kB / 0.7159 GB, free: 17.47 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/0.1851, allocations: 19.94 kB / 0.7159 GB, free: 17.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007752/0.1859, allocations: 51.94 kB / 0.716 GB, free: 17.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/0.1861, allocations: 80.86 kB / 0.7161 GB, free: 17.32 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005039/0.1912, allocations: 1.75 MB / 0.7178 GB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003553/0.1948, allocations: 1.931 MB / 0.7196 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001021/0.1958, allocations: 0.5309 MB / 0.7202 GB, free: 13.08 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003529/0.1962, allocations: 255.1 kB / 0.7204 GB, free: 12.83 MB / 442.7 MB Notification: Performance of Backend: time 7.12e-07/0.1962, allocations: 0 / 0.7204 GB, free: 12.83 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003675/0.1999, allocations: 1.255 MB / 0.7216 GB, free: 11.56 MB / 442.7 MB Notification: Performance of SimCode: time 0.003169/0.2031, allocations: 2.222 MB / 0.7238 GB, free: 9.285 MB / 442.7 MB Notification: Performance of Templates: time 0.3204/0.5236, allocations: 14.83 MB / 0.7383 GB, free: 127.6 MB / 442.7 MB