Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002675/0.002681, allocations: 365.6 kB / 17.22 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.797/3.797, allocations: 388.9 MB / 406.8 MB, free: 11.99 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.003593/0.003593, allocations: 231.8 kB / 452.2 MB, free: 14.59 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.7531/0.7531, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006802/0.0006804, allocations: 19.98 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1276, allocations: 53.23 MB / 0.6742 GB, free: 60.81 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.005172/0.1328, allocations: 4.136 MB / 0.6783 GB, free: 56.65 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002395/0.1353, allocations: 1.081 MB / 0.6793 GB, free: 55.57 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003296/0.1357, allocations: 23.81 kB / 0.6793 GB, free: 55.54 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.1359, allocations: 39.67 kB / 0.6794 GB, free: 55.5 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007372/0.1366, allocations: 214.7 kB / 0.6796 GB, free: 55.29 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.1371, allocations: 99.86 kB / 0.6797 GB, free: 55.2 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005709/0.1377, allocations: 446.3 kB / 0.6801 GB, free: 54.76 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002401/0.1379, allocations: 88.88 kB / 0.6802 GB, free: 54.67 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.1382, allocations: 139.3 kB / 0.6803 GB, free: 54.53 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004087/0.1386, allocations: 179.3 kB / 0.6805 GB, free: 54.36 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.922e-05/0.1387, allocations: 8 kB / 0.6805 GB, free: 54.35 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.34e-05/0.1387, allocations: 12 kB / 0.6805 GB, free: 54.34 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.1389, allocations: 83.7 kB / 0.6806 GB, free: 54.25 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.566e-05/0.1389, allocations: 77.52 kB / 0.6807 GB, free: 54.17 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.1392, allocations: 207.4 kB / 0.6809 GB, free: 53.97 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1392, allocations: 0 / 0.6809 GB, free: 53.97 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1392, allocations: 4 kB / 0.6809 GB, free: 53.96 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1393, allocations: 0 / 0.6809 GB, free: 53.96 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001051/0.1403, allocations: 0.5464 MB / 0.6814 GB, free: 53.37 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.1404, allocations: 8.031 kB / 0.6814 GB, free: 53.36 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.117e-05/0.1405, allocations: 35.61 kB / 0.6814 GB, free: 53.33 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005339/0.141, allocations: 309.8 kB / 0.6817 GB, free: 52.98 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.141, allocations: 16.44 kB / 0.6818 GB, free: 52.96 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.327e-05/0.1411, allocations: 24 kB / 0.6818 GB, free: 52.94 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005435/0.1417, allocations: 294.7 kB / 0.6821 GB, free: 52.62 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.1417, allocations: 0 / 0.6821 GB, free: 52.62 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/0.1417, allocations: 12 kB / 0.6821 GB, free: 52.61 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.1418, allocations: 7.938 kB / 0.6821 GB, free: 52.6 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004193/0.1422, allocations: 180.9 kB / 0.6823 GB, free: 52.43 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.1439, allocations: 1.228 MB / 0.6835 GB, free: 51.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003795/0.1443, allocations: 117.2 kB / 0.6836 GB, free: 50.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.805e-05/0.1444, allocations: 41.77 kB / 0.6836 GB, free: 50.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.1444, allocations: 7.953 kB / 0.6836 GB, free: 50.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.1445, allocations: 34.56 kB / 0.6836 GB, free: 50.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 2.936e-06/0.1445, allocations: 4 kB / 0.6836 GB, free: 50.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.000977/0.1455, allocations: 485.1 kB / 0.6841 GB, free: 50.35 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.1455, allocations: 77.11 kB / 0.6842 GB, free: 50.26 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.1458, allocations: 246.6 kB / 0.6844 GB, free: 50 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.1458, allocations: 25.7 kB / 0.6844 GB, free: 49.97 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.1459, allocations: 199.6 kB / 0.6846 GB, free: 49.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.146, allocations: 43.62 kB / 0.6847 GB, free: 49.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/0.146, allocations: 0 / 0.6847 GB, free: 49.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.772e-05/0.146, allocations: 334.8 kB / 0.685 GB, free: 49.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.517e-05/0.1462, allocations: 35.97 kB / 0.685 GB, free: 49.36 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.1463, allocations: 132.8 kB / 0.6852 GB, free: 49.18 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.1465, allocations: 52 kB / 0.6852 GB, free: 49.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1465, allocations: 3.938 kB / 0.6852 GB, free: 49.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004407/0.1469, allocations: 205.4 kB / 0.6854 GB, free: 48.92 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.147, allocations: 7.953 kB / 0.6854 GB, free: 48.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.147, allocations: 4 kB / 0.6854 GB, free: 48.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.147, allocations: 8 kB / 0.6854 GB, free: 48.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.1473, allocations: 47.91 kB / 0.6855 GB, free: 48.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.1473, allocations: 4 kB / 0.6855 GB, free: 48.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.1475, allocations: 8 kB / 0.6855 GB, free: 48.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.1475, allocations: 12 kB / 0.6855 GB, free: 48.83 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): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000153/0.1477, allocations: 149.8 kB / 0.6856 GB, free: 48.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.589e-05/0.1478, allocations: 31.7 kB / 0.6857 GB, free: 48.64 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.1481, allocations: 139.2 kB / 0.6858 GB, free: 48.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.1481, allocations: 4 kB / 0.6858 GB, free: 48.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1481, allocations: 0 / 0.6858 GB, free: 48.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.1482, allocations: 92.83 kB / 0.6859 GB, free: 48.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.233e-05/0.1482, allocations: 4 kB / 0.6859 GB, free: 48.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.1484, allocations: 4 kB / 0.6859 GB, free: 48.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.668e-05/0.1484, allocations: 7.984 kB / 0.6859 GB, free: 48.38 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003979/0.1488, allocations: 288 kB / 0.6862 GB, free: 48.09 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004066/0.1493, allocations: 421.7 kB / 0.6866 GB, free: 47.66 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.409e-05/0.1494, allocations: 48.03 kB / 0.6866 GB, free: 47.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001714/0.1496, allocations: 170 kB / 0.6868 GB, free: 47.44 MB / 442.7 MB Notification: Performance of Backend: time 1.092e-06/0.1496, allocations: 0 / 0.6868 GB, free: 47.44 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006381/0.1502, allocations: 158.3 kB / 0.6869 GB, free: 47.28 MB / 442.7 MB Notification: Performance of SimCode: time 0.001512/0.1517, allocations: 1.143 MB / 0.6881 GB, free: 46.09 MB / 442.7 MB Notification: Performance of Templates: time 0.007058/0.1588, allocations: 1.928 MB / 0.6899 GB, free: 44.18 MB / 442.7 MB