Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002586/0.002586, 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.933/3.933, allocations: 388.9 MB / 406.8 MB, free: 11.93 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.003571/0.003571, allocations: 233.3 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.7513/0.7513, allocations: 76 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006133/0.0006135, allocations: 16 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09488/0.09553, allocations: 53.23 MB / 0.6742 GB, free: 60.81 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.00804/0.1036, allocations: 6.876 MB / 0.6809 GB, free: 53.91 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006691/0.1104, allocations: 3.929 MB / 0.6848 GB, free: 49.96 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000597/0.111, allocations: 11.94 kB / 0.6848 GB, free: 49.95 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004484/0.1115, allocations: 146.9 kB / 0.6849 GB, free: 49.81 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002552/0.1141, allocations: 0.7427 MB / 0.6857 GB, free: 49.06 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009636/0.1151, allocations: 223.3 kB / 0.6859 GB, free: 48.84 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002312/0.1174, allocations: 1.866 MB / 0.6877 GB, free: 46.97 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006242/0.1181, allocations: 323.8 kB / 0.688 GB, free: 46.63 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.1191, allocations: 457.7 kB / 0.6884 GB, free: 46.18 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009439/0.1201, allocations: 0.5683 MB / 0.689 GB, free: 45.61 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.023e-05/0.1202, allocations: 20 kB / 0.689 GB, free: 45.59 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.1216, allocations: 474.1 kB / 0.6895 GB, free: 45.12 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003421/0.122, allocations: 251.3 kB / 0.6897 GB, free: 44.88 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.1222, allocations: 113.5 kB / 0.6898 GB, free: 44.76 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.1233, allocations: 0.5806 MB / 0.6904 GB, free: 44.18 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.1233, allocations: 4 kB / 0.6904 GB, free: 44.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.1233, allocations: 4 kB / 0.6904 GB, free: 44.17 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1233, allocations: 0 / 0.6904 GB, free: 44.17 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001241/0.1246, allocations: 0.7141 MB / 0.6911 GB, free: 43.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1246, allocations: 15.97 kB / 0.6911 GB, free: 43.39 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002211/0.1269, allocations: 139.3 kB / 0.6912 GB, free: 43.26 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005412/0.1274, allocations: 313.3 kB / 0.6915 GB, free: 42.91 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.869e-05/0.1275, allocations: 36.98 kB / 0.6916 GB, free: 42.87 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.291e-05/0.1276, allocations: 35.98 kB / 0.6916 GB, free: 42.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.1287, allocations: 0.5788 MB / 0.6922 GB, free: 42.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.1287, allocations: 7.938 kB / 0.6922 GB, free: 42.19 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.357e-05/0.1288, allocations: 19.92 kB / 0.6922 GB, free: 42.17 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.202e-05/0.1289, allocations: 40.62 kB / 0.6922 GB, free: 42.13 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008075/0.1297, allocations: 382.1 kB / 0.6926 GB, free: 41.75 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003032/0.1327, allocations: 2.607 MB / 0.6951 GB, free: 39.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009461/0.1337, allocations: 431.8 kB / 0.6955 GB, free: 38.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004113/0.1342, allocations: 210.6 kB / 0.6957 GB, free: 38.36 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.1342, allocations: 0 / 0.6957 GB, free: 38.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.1343, allocations: 38.56 kB / 0.6958 GB, free: 38.31 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 2.836e-06/0.1343, allocations: 4 kB / 0.6958 GB, free: 38.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.002622/0.1369, allocations: 0.7531 MB / 0.6965 GB, free: 37.53 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.137, allocations: 106.8 kB / 0.6966 GB, free: 37.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003889/0.1374, allocations: 328.4 kB / 0.6969 GB, free: 37.06 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.1375, allocations: 29.7 kB / 0.697 GB, free: 37.03 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.1376, allocations: 251.9 kB / 0.6972 GB, free: 36.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.1377, allocations: 122.3 kB / 0.6973 GB, free: 36.65 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.1378, allocations: 8 kB / 0.6973 GB, free: 36.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.326e-05/0.1379, allocations: 346.8 kB / 0.6977 GB, free: 36.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.1382, allocations: 128.8 kB / 0.6978 GB, free: 36.17 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003598/0.1386, allocations: 276 kB / 0.698 GB, free: 35.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003774/0.1389, allocations: 181.2 kB / 0.6982 GB, free: 35.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.139, allocations: 4 kB / 0.6982 GB, free: 35.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001243/0.1402, allocations: 0.5457 MB / 0.6988 GB, free: 35.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.1403, allocations: 8 kB / 0.6988 GB, free: 35.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.1403, allocations: 11.95 kB / 0.6988 GB, free: 35.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004864/0.1408, allocations: 129.3 kB / 0.6989 GB, free: 34.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004361/0.1412, allocations: 75.84 kB / 0.699 GB, free: 34.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00313/0.1444, allocations: 2.33 MB / 0.7012 GB, free: 32.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003848/0.1448, allocations: 43.53 kB / 0.7013 GB, free: 32.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/0.1449, allocations: 31.98 kB / 0.7013 GB, free: 32.33 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002827/0.1451, allocations: 201.6 kB / 0.7015 GB, free: 32.12 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.446e-05/0.1453, allocations: 35.53 kB / 0.7015 GB, free: 32.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.1454, allocations: 51.95 kB / 0.7016 GB, free: 32.04 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.1454, allocations: 0 / 0.7016 GB, free: 32.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.1454, allocations: 3.984 kB / 0.7016 GB, free: 32.04 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.658e-05/0.1455, allocations: 108.7 kB / 0.7017 GB, free: 31.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.91e-05/0.1456, allocations: 12 kB / 0.7017 GB, free: 31.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.1459, allocations: 12 kB / 0.7017 GB, free: 31.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.856e-05/0.146, allocations: 27.91 kB / 0.7018 GB, free: 31.86 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001431/0.1474, allocations: 0.7039 MB / 0.7024 GB, free: 31.14 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001027/0.1484, allocations: 0.8033 MB / 0.7032 GB, free: 30.32 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002857/0.1488, allocations: 144.1 kB / 0.7034 GB, free: 30.18 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002772/0.149, allocations: 219.1 kB / 0.7036 GB, free: 29.97 MB / 442.7 MB Notification: Performance of Backend: time 8.41e-07/0.1491, allocations: 0 / 0.7036 GB, free: 29.97 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002141/0.1512, allocations: 0.6654 MB / 0.7042 GB, free: 29.28 MB / 442.7 MB Notification: Performance of SimCode: time 0.001772/0.153, allocations: 1.428 MB / 0.7056 GB, free: 27.81 MB / 442.7 MB Notification: Performance of Templates: time 0.01674/0.1698, allocations: 6.497 MB / 0.712 GB, free: 21.3 MB / 442.7 MB