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.002755/0.002754, allocations: 362.5 kB / 15.95 MB, free: 6.203 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.286/4.286, allocations: 388.9 MB / 405.6 MB, free: 10.24 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.003649/0.003649, allocations: 226 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.5326/0.5326, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005097/0.0005101, allocations: 11.98 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1192, allocations: 54.86 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4646/0.5839, allocations: 84.77 MB / 0.7629 GB, free: 0.5977 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.5842, allocations: 67.03 kB / 0.7629 GB, free: 0.5664 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04008/0.6243, allocations: 8.922 MB / 0.7716 GB, free: 9.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.6244, allocations: 0 / 0.7716 GB, free: 9.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.824e-05/0.6244, allocations: 8 kB / 0.7716 GB, free: 9.012 MB / 362.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.001849/0.6263, allocations: 0.6938 MB / 0.7723 GB, free: 8.305 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.6264, allocations: 8.031 kB / 0.7723 GB, free: 8.297 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.6265, allocations: 51.42 kB / 0.7724 GB, free: 8.246 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006019/0.6272, allocations: 308.5 kB / 0.7727 GB, free: 7.938 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.983e-05/0.6272, allocations: 38.61 kB / 0.7727 GB, free: 7.914 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.6273, allocations: 44.31 kB / 0.7728 GB, free: 7.887 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.6287, allocations: 473.3 kB / 0.7732 GB, free: 7.547 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.6288, allocations: 0 / 0.7732 GB, free: 7.547 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-05/0.6288, allocations: 22.2 kB / 0.7732 GB, free: 7.539 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.6289, allocations: 12 kB / 0.7732 GB, free: 7.527 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.6302, allocations: 331 kB / 0.7736 GB, free: 7.301 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004067/0.6343, allocations: 1.709 MB / 0.7752 GB, free: 5.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009379/0.6353, allocations: 245.6 kB / 0.7755 GB, free: 5.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005497/0.6358, allocations: 136.4 kB / 0.7756 GB, free: 5.469 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.6359, allocations: 4 kB / 0.7756 GB, free: 5.465 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/0.6359, allocations: 46.45 kB / 0.7756 GB, free: 5.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 3.115e-06/0.636, allocations: 0 / 0.7756 GB, free: 5.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.004774/0.6407, allocations: 1.268 MB / 0.7769 GB, free: 4.238 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.6409, allocations: 81.11 kB / 0.777 GB, free: 4.141 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004249/0.6413, allocations: 265 kB / 0.7772 GB, free: 3.922 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.6414, allocations: 29.14 kB / 0.7772 GB, free: 3.891 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/0.6416, allocations: 249.5 kB / 0.7775 GB, free: 3.676 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.6417, allocations: 131.2 kB / 0.7776 GB, free: 3.562 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/0.6418, allocations: 6.75 kB / 0.7776 GB, free: 3.562 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.642, allocations: 347.4 kB / 0.7779 GB, free: 3.227 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004944/0.6425, allocations: 105.2 kB / 0.778 GB, free: 3.156 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005683/0.6431, allocations: 209.3 kB / 0.7782 GB, free: 2.953 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005414/0.6436, allocations: 132.1 kB / 0.7784 GB, free: 2.875 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.6437, allocations: 0 / 0.7784 GB, free: 2.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001465/0.6451, allocations: 424.2 kB / 0.7788 GB, free: 2.551 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.6452, allocations: 4 kB / 0.7788 GB, free: 2.547 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.6452, allocations: 7.953 kB / 0.7788 GB, free: 2.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002094/0.6454, allocations: 32.38 kB / 0.7788 GB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008998/0.6463, allocations: 122.2 kB / 0.7789 GB, free: 2.395 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.6479, allocations: 1.336 MB / 0.7802 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004861/0.6484, allocations: 18.73 kB / 0.7802 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.44e-05/0.6484, allocations: 15.38 kB / 0.7803 GB, free: 0.9688 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 49 * 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.0003383/0.6488, allocations: 169.2 kB / 0.7804 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.6489, allocations: 31.62 kB / 0.7805 GB, free: 0.793 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.94e-05/0.649, allocations: 44.06 kB / 0.7805 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.649, allocations: 4 kB / 0.7805 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.649, allocations: 0 / 0.7805 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.6491, allocations: 3.984 kB / 0.7805 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.6509, allocations: 0.7259 MB / 0.7812 GB, free: 124 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.651, allocations: 3.938 kB / 0.7812 GB, free: 120 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008166/0.6518, allocations: 95.19 kB / 0.7813 GB, free: 28 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001787/0.652, allocations: 32.39 kB / 0.7813 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/0.652, allocations: 6.875 kB / 0.7813 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/0.6534, allocations: 1.328 MB / 0.7826 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.6534, allocations: 0 / 0.7826 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.6552, allocations: 0.6087 MB / 0.7832 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.6554, allocations: 123.1 kB / 0.7834 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.36e-05/0.6555, allocations: 10.94 kB / 0.7834 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004436/0.6559, allocations: 23.55 kB / 0.7834 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.6561, allocations: 26.42 kB / 0.7834 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/0.6561, allocations: 14.86 kB / 0.7834 GB, free: 13.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002799/0.6564, allocations: 182 kB / 0.7836 GB, free: 13.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6564, allocations: 0 / 0.7836 GB, free: 13.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006829/0.6571, allocations: 89.56 kB / 0.7837 GB, free: 13.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * 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 Backend phase and start with SimCode phase: time 0.0001944/0.6573, allocations: 114.5 kB / 0.7838 GB, free: 13.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.6587, allocations: 413.2 kB / 0.7842 GB, free: 13.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.6588, allocations: 0 / 0.7842 GB, free: 13.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006631/0.6594, allocations: 252.4 kB / 0.7844 GB, free: 13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007765/0.6602, allocations: 45.41 kB / 0.7845 GB, free: 12.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002754/0.663, allocations: 1.136 MB / 0.7856 GB, free: 11.85 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005478/0.6636, allocations: 0.8191 MB / 0.7864 GB, free: 11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003325/0.6639, allocations: 38.95 kB / 0.7864 GB, free: 10.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.6641, allocations: 27.42 kB / 0.7864 GB, free: 10.94 MB / 378.7 MB Notification: Performance of SimCode: time 1.353e-06/0.6641, allocations: 0 / 0.7864 GB, free: 10.94 MB / 378.7 MB Notification: Performance of Templates: time 0.01098/0.6751, allocations: 2.792 MB / 0.7892 GB, free: 8.188 MB / 378.7 MB