Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Line") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002409/0.002413, allocations: 352.4 kB / 16.57 MB, free: 5.59 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.482/3.482, allocations: 388.9 MB / 406.2 MB, free: 12.02 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.003501/0.003501, allocations: 235.8 kB / 451.6 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.6584/0.6584, allocations: 76.01 MB / 0.5594 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004377/0.0004379, allocations: 12 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06627/0.06673, allocations: 53.24 MB / 0.6736 GB, free: 60.8 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.004891/0.07167, allocations: 5.08 MB / 0.6786 GB, free: 55.7 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.0738, allocations: 1.498 MB / 0.68 GB, free: 54.2 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002757/0.07409, allocations: 35.75 kB / 0.6801 GB, free: 54.16 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000318/0.07443, allocations: 115.2 kB / 0.6802 GB, free: 54.05 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006824/0.07513, allocations: 358.1 kB / 0.6805 GB, free: 53.7 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004309/0.07558, allocations: 179.6 kB / 0.6807 GB, free: 53.52 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006817/0.07628, allocations: 0.8529 MB / 0.6815 GB, free: 52.66 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.07649, allocations: 114.3 kB / 0.6816 GB, free: 52.55 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003064/0.07681, allocations: 254.9 kB / 0.6819 GB, free: 52.3 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005964/0.07742, allocations: 454.7 kB / 0.6823 GB, free: 51.86 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.884e-05/0.07752, allocations: 28 kB / 0.6823 GB, free: 51.83 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.07764, allocations: 24 kB / 0.6824 GB, free: 51.8 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.07786, allocations: 223.4 kB / 0.6826 GB, free: 51.59 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.07799, allocations: 109.5 kB / 0.6827 GB, free: 51.47 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003994/0.0784, allocations: 482.8 kB / 0.6831 GB, free: 51 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.69e-06/0.07842, allocations: 4 kB / 0.6831 GB, free: 51 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.755e-06/0.07843, allocations: 0 / 0.6831 GB, free: 51 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.07845, allocations: 0 / 0.6831 GB, free: 51 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001636/0.08009, allocations: 0.8543 MB / 0.684 GB, free: 50.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.08013, allocations: 8.828 kB / 0.684 GB, free: 50.08 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.08027, allocations: 55.42 kB / 0.684 GB, free: 50.03 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.08145, allocations: 0.5832 MB / 0.6846 GB, free: 49.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.0815, allocations: 20.66 kB / 0.6846 GB, free: 49.38 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.487e-05/0.08161, allocations: 47.95 kB / 0.6847 GB, free: 49.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008287/0.08245, allocations: 0.5479 MB / 0.6852 GB, free: 48.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.08248, allocations: 0 / 0.6852 GB, free: 48.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.068e-05/0.08254, allocations: 12 kB / 0.6852 GB, free: 48.74 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003267/0.08288, allocations: 88.52 kB / 0.6853 GB, free: 48.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000636/0.08353, allocations: 354.3 kB / 0.6856 GB, free: 48.31 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003087/0.08663, allocations: 2.109 MB / 0.6877 GB, free: 46.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008993/0.08755, allocations: 397.1 kB / 0.6881 GB, free: 45.71 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006067/0.08818, allocations: 309.6 kB / 0.6884 GB, free: 45.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.08822, allocations: 4 kB / 0.6884 GB, free: 45.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.08825, allocations: 38.56 kB / 0.6884 GB, free: 45.35 MB / 442.7 MB Notification: Performance of pre-optimization done (n=32): time 2.575e-06/0.08827, allocations: 0 / 0.6884 GB, free: 45.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.004622/0.0929, allocations: 2.542 MB / 0.6909 GB, free: 42.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.09294, allocations: 81.11 kB / 0.691 GB, free: 42.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003893/0.09334, allocations: 373.7 kB / 0.6913 GB, free: 42.13 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.006e-05/0.0934, allocations: 37.7 kB / 0.6914 GB, free: 42.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.09356, allocations: 248.2 kB / 0.6916 GB, free: 41.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.09368, allocations: 134.1 kB / 0.6917 GB, free: 41.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.09372, allocations: 12 kB / 0.6917 GB, free: 41.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.329e-05/0.09382, allocations: 354.8 kB / 0.6921 GB, free: 41.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004363/0.09426, allocations: 257 kB / 0.6923 GB, free: 41.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004816/0.09476, allocations: 386.5 kB / 0.6927 GB, free: 40.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005/0.09527, allocations: 309.4 kB / 0.693 GB, free: 40.36 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.064e-06/0.09529, allocations: 0 / 0.693 GB, free: 40.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001857/0.09716, allocations: 0.9907 MB / 0.694 GB, free: 39.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.09719, allocations: 8.391 kB / 0.694 GB, free: 39.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.159e-06/0.09721, allocations: 8 kB / 0.694 GB, free: 39.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.09832, allocations: 381.7 kB / 0.6943 GB, free: 38.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.0987, allocations: 79.89 kB / 0.6944 GB, free: 38.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005094/0.1038, allocations: 6.238 MB / 0.7005 GB, free: 32.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003648/0.1042, allocations: 43.94 kB / 0.7006 GB, free: 32.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.811e-05/0.1043, allocations: 16 kB / 0.7006 GB, free: 32.03 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 (53): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002549/0.1045, allocations: 213.7 kB / 0.7008 GB, free: 31.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.619e-05/0.1046, allocations: 43.47 kB / 0.7008 GB, free: 31.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/0.1062, allocations: 0.8243 MB / 0.7016 GB, free: 30.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.107e-06/0.1063, allocations: 15.94 kB / 0.7016 GB, free: 30.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.1063, allocations: 0 / 0.7016 GB, free: 30.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.837e-06/0.1063, allocations: 3.984 kB / 0.7016 GB, free: 30.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/0.1086, allocations: 1.414 MB / 0.703 GB, free: 29.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.869e-06/0.1086, allocations: 0 / 0.703 GB, free: 29.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.1088, allocations: 43.91 kB / 0.7031 GB, free: 29.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/0.1103, allocations: 445.3 kB / 0.7035 GB, free: 28.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.156e-05/0.1104, allocations: 35.97 kB / 0.7035 GB, free: 28.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004789/0.1152, allocations: 6.249 MB / 0.7096 GB, free: 22.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.1152, allocations: 4.062 kB / 0.7096 GB, free: 22.08 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.1171, allocations: 1.129 MB / 0.7107 GB, free: 20.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.485e-05/0.1172, allocations: 120.5 kB / 0.7108 GB, free: 20.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.1173, allocations: 31.98 kB / 0.7109 GB, free: 20.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003447/0.1177, allocations: 39.83 kB / 0.7109 GB, free: 20.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.566e-05/0.1178, allocations: 35.94 kB / 0.7109 GB, free: 20.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/0.1179, allocations: 15.98 kB / 0.711 GB, free: 20.64 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002712/0.1182, allocations: 263.1 kB / 0.7112 GB, free: 20.39 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-07/0.1182, allocations: 4 kB / 0.7112 GB, free: 20.38 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006772/0.1189, allocations: 156 kB / 0.7114 GB, free: 20.23 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (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.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]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001458/0.119, allocations: 123.1 kB / 0.7115 GB, free: 20.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001937/0.121, allocations: 1.368 MB / 0.7128 GB, free: 18.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.256e-06/0.121, allocations: 4 kB / 0.7128 GB, free: 18.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001519/0.1225, allocations: 1.083 MB / 0.7139 GB, free: 17.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007702/0.1233, allocations: 117.4 kB / 0.714 GB, free: 17.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002969/0.1263, allocations: 2.231 MB / 0.7162 GB, free: 15.03 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.1267, allocations: 0.8937 MB / 0.717 GB, free: 14.11 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003108/0.127, allocations: 72.34 kB / 0.7171 GB, free: 14.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.092e-05/0.1271, allocations: 35.42 kB / 0.7171 GB, free: 14 MB / 442.7 MB Notification: Performance of SimCode: time 1.419e-06/0.1271, allocations: 3.938 kB / 0.7171 GB, free: 14 MB / 442.7 MB Notification: Performance of Templates: time 0.01452/0.1416, allocations: 7.294 MB / 0.7243 GB, free: 6.727 MB / 442.7 MB