Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002798/0.002801, allocations: 367.4 kB / 15.96 MB, free: 6.199 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 4.129/4.129, allocations: 388.9 MB / 405.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003967/0.003967, allocations: 222.3 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.6877/0.6877, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000486/0.0004862, allocations: 16 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09593/0.09644, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.007685/0.1042, allocations: 6.002 MB / 0.686 GB, free: 35.62 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004762/0.109, allocations: 1.914 MB / 0.6878 GB, free: 33.7 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.1101, allocations: 23.94 kB / 0.6879 GB, free: 33.68 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.1112, allocations: 222.7 kB / 0.6881 GB, free: 33.46 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003165/0.1144, allocations: 0.75 MB / 0.6888 GB, free: 32.71 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.1163, allocations: 475.9 kB / 0.6893 GB, free: 32.25 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001842/0.1182, allocations: 1.023 MB / 0.6902 GB, free: 31.23 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003483/0.1217, allocations: 1.26 MB / 0.6915 GB, free: 29.93 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009252/0.1227, allocations: 398.3 kB / 0.6919 GB, free: 29.54 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009975/0.1237, allocations: 0.5211 MB / 0.6924 GB, free: 29.02 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002243/0.1239, allocations: 48 kB / 0.6924 GB, free: 28.97 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000963/0.1249, allocations: 207.8 kB / 0.6926 GB, free: 28.77 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.1251, allocations: 195.1 kB / 0.6928 GB, free: 28.58 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002822/0.1254, allocations: 209.1 kB / 0.693 GB, free: 28.37 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.127, allocations: 1.067 MB / 0.694 GB, free: 27.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.127, allocations: 4 kB / 0.694 GB, free: 27.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.1271, allocations: 0 / 0.694 GB, free: 27.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.254e-05/0.1271, allocations: 0 / 0.694 GB, free: 27.29 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.005435/0.1325, allocations: 1.463 MB / 0.6955 GB, free: 25.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.1326, allocations: 8.031 kB / 0.6955 GB, free: 25.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01462/0.1472, allocations: 1.439 MB / 0.6969 GB, free: 24.33 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.1485, allocations: 0.5199 MB / 0.6974 GB, free: 23.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.458e-05/0.1486, allocations: 86.45 kB / 0.6975 GB, free: 23.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002975/0.1489, allocations: 132 kB / 0.6976 GB, free: 23.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00324/0.1522, allocations: 1.165 MB / 0.6987 GB, free: 22.36 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.456e-05/0.1523, allocations: 7.906 kB / 0.6987 GB, free: 22.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/0.1525, allocations: 51.95 kB / 0.6988 GB, free: 22.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.773e-05/0.1525, allocations: 36 kB / 0.6988 GB, free: 22.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003808/0.1563, allocations: 1.431 MB / 0.7002 GB, free: 20.83 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01161/0.168, allocations: 4.831 MB / 0.7049 GB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002954/0.171, allocations: 1.201 MB / 0.7061 GB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.1721, allocations: 363.8 kB / 0.7065 GB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000158/0.1723, allocations: 106.1 kB / 0.7066 GB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.1723, allocations: 47.55 kB / 0.7066 GB, free: 13.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=91): time 3.997e-06/0.1723, allocations: 0 / 0.7066 GB, free: 13.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=91): time 0.003531/0.1759, allocations: 1.202 MB / 0.7078 GB, free: 12.63 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.1759, allocations: 64.41 kB / 0.7078 GB, free: 12.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.1772, allocations: 0.7658 MB / 0.7086 GB, free: 11.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00016/0.1774, allocations: 41.7 kB / 0.7086 GB, free: 11.74 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/0.1778, allocations: 462.7 kB / 0.7091 GB, free: 11.28 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000276/0.1781, allocations: 319.5 kB / 0.7094 GB, free: 10.96 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.802e-05/0.1782, allocations: 20 kB / 0.7094 GB, free: 10.94 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1783, allocations: 394.7 kB / 0.7098 GB, free: 10.55 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.1795, allocations: 342.5 kB / 0.7101 GB, free: 10.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.1807, allocations: 0.6102 MB / 0.7107 GB, free: 9.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.182, allocations: 430.8 kB / 0.7111 GB, free: 9.074 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.182, allocations: 4 kB / 0.7111 GB, free: 9.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003198/0.1852, allocations: 1.17 MB / 0.7123 GB, free: 7.891 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.1853, allocations: 8 kB / 0.7123 GB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/0.1853, allocations: 8 kB / 0.7123 GB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004192/0.1858, allocations: 74.05 kB / 0.7123 GB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/0.1878, allocations: 267.6 kB / 0.7126 GB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.19, allocations: 2.636 MB / 0.7152 GB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.1916, allocations: 154.2 kB / 0.7153 GB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/0.1918, allocations: 47.98 kB / 0.7154 GB, free: 4.434 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005301/0.1923, allocations: 249.6 kB / 0.7156 GB, free: 4.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/0.1926, allocations: 86.97 kB / 0.7157 GB, free: 4.094 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002753/0.1953, allocations: 1.118 MB / 0.7168 GB, free: 2.941 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.1954, allocations: 3.984 kB / 0.7168 GB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.1954, allocations: 0 / 0.7168 GB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004246/0.1958, allocations: 203.7 kB / 0.717 GB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002249/0.1961, allocations: 16 kB / 0.717 GB, free: 2.703 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.1971, allocations: 59.97 kB / 0.717 GB, free: 2.645 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.1973, allocations: 56.84 kB / 0.7171 GB, free: 2.586 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002966/0.2003, allocations: 0.9172 MB / 0.718 GB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002972/0.2033, allocations: 1.305 MB / 0.7193 GB, free: 340 kB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008268/0.2042, allocations: 339.8 kB / 0.7196 GB, free: 4 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.3016/0.5058, allocations: 0.5302 MB / 0.7201 GB, free: 43.64 MB / 346.7 MB Notification: Performance of Backend: time 1.472e-06/0.5059, allocations: 0 / 0.7201 GB, free: 43.64 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003741/0.5096, allocations: 0.9964 MB / 0.7211 GB, free: 43.36 MB / 346.7 MB Notification: Performance of SimCode: time 0.004562/0.5143, allocations: 2.217 MB / 0.7233 GB, free: 41.99 MB / 346.7 MB Notification: Performance of Templates: time 0.04211/0.5564, allocations: 13.37 MB / 0.7363 GB, free: 38.56 MB / 346.7 MB