Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Generic.Test.ImpedanceTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002704/0.002711, 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.79/3.79, 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.003542/0.003542, allocations: 249.2 kB / 452.3 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.7441/0.7441, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004557/0.000456, allocations: 8 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1067, allocations: 53.23 MB / 0.6742 GB, free: 60.83 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.00398/0.1107, allocations: 3.165 MB / 0.6773 GB, free: 57.65 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002502/0.1132, allocations: 1.44 MB / 0.6787 GB, free: 56.2 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001992/0.1135, allocations: 11.94 kB / 0.6787 GB, free: 56.19 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.1137, allocations: 31.77 kB / 0.6788 GB, free: 56.16 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007591/0.1144, allocations: 207 kB / 0.679 GB, free: 55.95 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.1148, allocations: 91.69 kB / 0.679 GB, free: 55.86 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004766/0.1153, allocations: 434.7 kB / 0.6795 GB, free: 55.44 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007119/0.116, allocations: 311.1 kB / 0.6798 GB, free: 55.11 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.1163, allocations: 119.4 kB / 0.6799 GB, free: 55 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002501/0.1165, allocations: 143.5 kB / 0.68 GB, free: 54.86 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.1166, allocations: 12 kB / 0.68 GB, free: 54.84 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004638/0.1171, allocations: 167.5 kB / 0.6802 GB, free: 54.68 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.1172, allocations: 91.75 kB / 0.6803 GB, free: 54.59 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.57e-05/0.1173, allocations: 61.64 kB / 0.6803 GB, free: 54.52 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.1176, allocations: 243.3 kB / 0.6806 GB, free: 54.29 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1177, allocations: 0 / 0.6806 GB, free: 54.29 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1177, allocations: 0 / 0.6806 GB, free: 54.29 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1177, allocations: 0 / 0.6806 GB, free: 54.29 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006676/0.1184, allocations: 478.6 kB / 0.681 GB, free: 53.77 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1184, allocations: 12.03 kB / 0.681 GB, free: 53.76 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.1196, allocations: 99.61 kB / 0.6811 GB, free: 53.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.12, allocations: 259.1 kB / 0.6814 GB, free: 53.37 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.12, allocations: 12 kB / 0.6814 GB, free: 53.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.129e-05/0.1201, allocations: 23.98 kB / 0.6814 GB, free: 53.33 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006045/0.1207, allocations: 318.3 kB / 0.6817 GB, free: 52.99 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.1207, allocations: 0 / 0.6817 GB, free: 52.99 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/0.1207, allocations: 11.94 kB / 0.6817 GB, free: 52.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.427e-05/0.1208, allocations: 19.98 kB / 0.6817 GB, free: 52.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005907/0.1214, allocations: 287.6 kB / 0.682 GB, free: 52.68 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.1235, allocations: 1.297 MB / 0.6833 GB, free: 51.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008386/0.1244, allocations: 205.2 kB / 0.6835 GB, free: 51.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.1245, allocations: 65.62 kB / 0.6835 GB, free: 51 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/0.1246, allocations: 4 kB / 0.6835 GB, free: 50.99 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.1246, allocations: 38.56 kB / 0.6836 GB, free: 50.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 2.705e-06/0.1246, allocations: 0 / 0.6836 GB, free: 50.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.001246/0.1259, allocations: 438.2 kB / 0.684 GB, free: 50.49 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.1259, allocations: 85.23 kB / 0.6841 GB, free: 50.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.1261, allocations: 195.2 kB / 0.6843 GB, free: 50.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.1262, allocations: 25.7 kB / 0.6843 GB, free: 50.15 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.734e-05/0.1263, allocations: 163.7 kB / 0.6844 GB, free: 49.99 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.1263, allocations: 47.38 kB / 0.6845 GB, free: 49.94 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/0.1263, allocations: 4 kB / 0.6845 GB, free: 49.94 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.192e-05/0.1264, allocations: 330.8 kB / 0.6848 GB, free: 49.61 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.1266, allocations: 51.97 kB / 0.6849 GB, free: 49.55 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.1268, allocations: 152.8 kB / 0.685 GB, free: 49.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.127, allocations: 75.97 kB / 0.6851 GB, free: 49.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.127, allocations: 0 / 0.6851 GB, free: 49.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006113/0.1276, allocations: 265.8 kB / 0.6853 GB, free: 49.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1276, allocations: 11.95 kB / 0.6853 GB, free: 49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.1277, allocations: 4 kB / 0.6853 GB, free: 49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003234/0.128, allocations: 41.27 kB / 0.6854 GB, free: 48.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.1283, allocations: 39.92 kB / 0.6854 GB, free: 48.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.1296, allocations: 1.343 MB / 0.6867 GB, free: 47.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.1298, allocations: 8 kB / 0.6867 GB, free: 47.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.1299, allocations: 12 kB / 0.6867 GB, free: 47.42 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (24): * Single equations (assignments): 23 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001772/0.1301, allocations: 157.8 kB / 0.6869 GB, free: 47.26 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.1301, allocations: 19.77 kB / 0.6869 GB, free: 47.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005336/0.1307, allocations: 192 kB / 0.6871 GB, free: 47.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.1307, allocations: 0 / 0.6871 GB, free: 47.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.1307, allocations: 0 / 0.6871 GB, free: 47.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/0.1308, allocations: 88.92 kB / 0.6872 GB, free: 46.94 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.1308, allocations: 8 kB / 0.6872 GB, free: 46.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.131, allocations: 3.984 kB / 0.6872 GB, free: 46.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.131, allocations: 11.98 kB / 0.6872 GB, free: 46.92 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005499/0.1316, allocations: 340.8 kB / 0.6875 GB, free: 46.57 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004692/0.1321, allocations: 437.8 kB / 0.688 GB, free: 46.13 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001146/0.1322, allocations: 52.16 kB / 0.688 GB, free: 46.08 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001336/0.1324, allocations: 139.2 kB / 0.6881 GB, free: 45.94 MB / 442.7 MB Notification: Performance of Backend: time 1.402e-06/0.1324, allocations: 3.938 kB / 0.6881 GB, free: 45.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.1337, allocations: 361.5 kB / 0.6885 GB, free: 45.57 MB / 442.7 MB Notification: Performance of SimCode: time 0.001085/0.1348, allocations: 0.9533 MB / 0.6894 GB, free: 44.56 MB / 442.7 MB Notification: Performance of Templates: time 0.0086/0.1434, allocations: 2.753 MB / 0.6921 GB, free: 41.81 MB / 442.7 MB