Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.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.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002882/0.002887, allocations: 366 kB / 15.96 MB, free: 6.18 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.011/4.011, allocations: 388.9 MB / 405.6 MB, free: 9.641 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.003466/0.003465, allocations: 224.1 kB / 451 MB, free: 145 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.5371/0.5371, allocations: 80.03 MB / 0.5627 GB, free: 19.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006413/0.0006417, allocations: 15.98 kB / 0.6265 GB, free: 96.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09964/0.1003, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.004008/0.1044, allocations: 2.962 MB / 0.683 GB, free: 38.66 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.1063, allocations: 0.7881 MB / 0.6838 GB, free: 37.86 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003383/0.1067, allocations: 11.94 kB / 0.6838 GB, free: 37.85 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.1068, allocations: 51.59 kB / 0.6838 GB, free: 37.8 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003915/0.1072, allocations: 119.1 kB / 0.6839 GB, free: 37.68 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004424/0.1077, allocations: 83.92 kB / 0.684 GB, free: 37.6 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005421/0.1082, allocations: 494.2 kB / 0.6845 GB, free: 37.11 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003459/0.1086, allocations: 182.6 kB / 0.6847 GB, free: 36.94 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000293/0.1089, allocations: 171.3 kB / 0.6848 GB, free: 36.77 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002903/0.1092, allocations: 203.1 kB / 0.685 GB, free: 36.57 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.463e-05/0.1093, allocations: 28 kB / 0.685 GB, free: 36.54 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.493e-05/0.1094, allocations: 24 kB / 0.6851 GB, free: 36.52 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.467e-05/0.1095, allocations: 79.67 kB / 0.6851 GB, free: 36.44 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.1096, allocations: 109.5 kB / 0.6852 GB, free: 36.33 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004298/0.11, allocations: 415 kB / 0.6856 GB, free: 35.92 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.11, allocations: 0 / 0.6856 GB, free: 35.92 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.11, allocations: 0 / 0.6856 GB, free: 35.92 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.1101, allocations: 0 / 0.6856 GB, free: 35.92 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001682/0.1118, allocations: 0.7056 MB / 0.6863 GB, free: 35.17 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.1118, allocations: 8.031 kB / 0.6863 GB, free: 35.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.112, allocations: 55.34 kB / 0.6864 GB, free: 35.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004635/0.1124, allocations: 297.7 kB / 0.6867 GB, free: 34.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.739e-05/0.1125, allocations: 37 kB / 0.6867 GB, free: 34.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.526e-05/0.1126, allocations: 47.91 kB / 0.6868 GB, free: 34.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.1137, allocations: 467 kB / 0.6872 GB, free: 34.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.1138, allocations: 0 / 0.6872 GB, free: 34.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-05/0.1139, allocations: 20 kB / 0.6872 GB, free: 34.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.1139, allocations: 15.95 kB / 0.6872 GB, free: 34.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.115, allocations: 331.8 kB / 0.6876 GB, free: 33.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003523/0.1186, allocations: 1.713 MB / 0.6892 GB, free: 32.03 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008388/0.1195, allocations: 237 kB / 0.6895 GB, free: 31.78 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005318/0.12, allocations: 149.6 kB / 0.6896 GB, free: 31.62 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.1201, allocations: 4 kB / 0.6896 GB, free: 31.62 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.1201, allocations: 34.56 kB / 0.6896 GB, free: 31.58 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 3.987e-06/0.1201, allocations: 0 / 0.6896 GB, free: 31.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.00443/0.1246, allocations: 1.354 MB / 0.691 GB, free: 30.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.1246, allocations: 85.33 kB / 0.691 GB, free: 30 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.125, allocations: 262.5 kB / 0.6913 GB, free: 29.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.125, allocations: 33.64 kB / 0.6913 GB, free: 29.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.1252, allocations: 263.4 kB / 0.6916 GB, free: 29.44 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.176e-05/0.1253, allocations: 114.3 kB / 0.6917 GB, free: 29.33 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.1253, allocations: 12 kB / 0.6917 GB, free: 29.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.787e-05/0.1254, allocations: 338.8 kB / 0.692 GB, free: 28.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004453/0.1259, allocations: 112.8 kB / 0.6921 GB, free: 28.87 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004983/0.1264, allocations: 216.5 kB / 0.6923 GB, free: 28.61 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005029/0.1269, allocations: 139.3 kB / 0.6925 GB, free: 28.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1269, allocations: 0 / 0.6925 GB, free: 28.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001349/0.1283, allocations: 431.8 kB / 0.6929 GB, free: 28.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.1283, allocations: 4 kB / 0.6929 GB, free: 28.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.1284, allocations: 4 kB / 0.6929 GB, free: 28.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/0.1286, allocations: 41.11 kB / 0.6929 GB, free: 28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008433/0.1294, allocations: 119.9 kB / 0.693 GB, free: 27.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.1306, allocations: 1.34 MB / 0.6943 GB, free: 26.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004776/0.1311, allocations: 16 kB / 0.6944 GB, free: 26.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.1311, allocations: 19.98 kB / 0.6944 GB, free: 26.37 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002383/0.1314, allocations: 169.7 kB / 0.6945 GB, free: 26.19 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.12e-05/0.1315, allocations: 31.62 kB / 0.6946 GB, free: 26.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.1316, allocations: 38.17 kB / 0.6946 GB, free: 26.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.1316, allocations: 3.953 kB / 0.6946 GB, free: 26.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1316, allocations: 0 / 0.6946 GB, free: 26.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.1318, allocations: 124.8 kB / 0.6947 GB, free: 25.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.7e-05/0.1319, allocations: 8 kB / 0.6947 GB, free: 25.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004375/0.1323, allocations: 19.98 kB / 0.6948 GB, free: 25.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.462e-05/0.1324, allocations: 27.97 kB / 0.6948 GB, free: 25.93 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001758/0.1342, allocations: 0.52 MB / 0.6953 GB, free: 25.39 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001529/0.1357, allocations: 0.6596 MB / 0.6959 GB, free: 24.72 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004466/0.1362, allocations: 127.5 kB / 0.6961 GB, free: 24.6 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002393/0.1365, allocations: 182 kB / 0.6962 GB, free: 24.42 MB / 346.7 MB Notification: Performance of Backend: time 6.31e-07/0.1365, allocations: 0 / 0.6962 GB, free: 24.42 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001391/0.1379, allocations: 392.9 kB / 0.6966 GB, free: 24.02 MB / 346.7 MB Notification: Performance of SimCode: time 0.002037/0.1399, allocations: 1.539 MB / 0.6981 GB, free: 22.43 MB / 346.7 MB Notification: Performance of Templates: time 0.01051/0.1505, allocations: 3.221 MB / 0.7013 GB, free: 19.23 MB / 346.7 MB