Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.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.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002865/0.002869, allocations: 362.8 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.173/4.173, allocations: 388.9 MB / 405.6 MB, free: 47.9 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003622/0.003622, allocations: 224.7 kB / 451 MB, free: 2.383 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.807/0.807, allocations: 80.01 MB / 0.5627 GB, free: 5.984 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005033/0.0005035, allocations: 15.94 kB / 0.6265 GB, free: 4.562 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1477, allocations: 54.88 MB / 0.6801 GB, free: 13.55 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4745/0.6223, allocations: 82.25 MB / 0.7604 GB, free: 38.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/0.6225, allocations: 67.97 kB / 0.7605 GB, free: 37.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01475/0.6373, allocations: 3.867 MB / 0.7643 GB, free: 34.19 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6373, allocations: 5.125 kB / 0.7643 GB, free: 34.19 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.6374, allocations: 4 kB / 0.7643 GB, free: 34.18 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008718/0.6382, allocations: 0.5017 MB / 0.7647 GB, free: 33.64 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.6383, allocations: 12.78 kB / 0.7648 GB, free: 33.62 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.313e-05/0.6384, allocations: 23.72 kB / 0.7648 GB, free: 33.6 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.6387, allocations: 256.1 kB / 0.765 GB, free: 33.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.6388, allocations: 16.23 kB / 0.765 GB, free: 33.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-05/0.6388, allocations: 20.5 kB / 0.7651 GB, free: 33.29 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004729/0.6393, allocations: 193.9 kB / 0.7652 GB, free: 33.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.6394, allocations: 3.938 kB / 0.7653 GB, free: 33.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.6394, allocations: 15.94 kB / 0.7653 GB, free: 33.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.6394, allocations: 4 kB / 0.7653 GB, free: 33.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004333/0.6399, allocations: 141.7 kB / 0.7654 GB, free: 32.94 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.6415, allocations: 0.8266 MB / 0.7662 GB, free: 32.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.6418, allocations: 98.48 kB / 0.7663 GB, free: 31.94 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.642, allocations: 46.09 kB / 0.7664 GB, free: 31.89 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.642, allocations: 1 kB / 0.7664 GB, free: 31.89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.642, allocations: 38.91 kB / 0.7664 GB, free: 31.85 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.735e-06/0.642, allocations: 0 / 0.7664 GB, free: 31.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.002473/0.6445, allocations: 0.7392 MB / 0.7671 GB, free: 31.06 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.6446, allocations: 57 kB / 0.7672 GB, free: 31 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.6449, allocations: 213 kB / 0.7674 GB, free: 30.78 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.6449, allocations: 29.7 kB / 0.7674 GB, free: 30.74 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.442e-05/0.645, allocations: 164.8 kB / 0.7676 GB, free: 30.58 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/0.645, allocations: 63.17 kB / 0.7676 GB, free: 30.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.469e-05/0.6451, allocations: 4 kB / 0.7676 GB, free: 30.51 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.59e-05/0.6451, allocations: 329.9 kB / 0.7679 GB, free: 30.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.6454, allocations: 59.97 kB / 0.768 GB, free: 30.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.6456, allocations: 110.2 kB / 0.7681 GB, free: 30 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.6459, allocations: 76.42 kB / 0.7682 GB, free: 29.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6459, allocations: 0 / 0.7682 GB, free: 29.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008063/0.6467, allocations: 294 kB / 0.7684 GB, free: 29.63 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.6468, allocations: 8.656 kB / 0.7685 GB, free: 29.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.6468, allocations: 3.062 kB / 0.7685 GB, free: 29.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003388/0.6471, allocations: 68.86 kB / 0.7685 GB, free: 29.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.6474, allocations: 39.92 kB / 0.7686 GB, free: 29.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/0.6498, allocations: 2.804 MB / 0.7713 GB, free: 26.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.6501, allocations: 12.03 kB / 0.7713 GB, free: 26.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.6501, allocations: 7.828 kB / 0.7713 GB, free: 26.44 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 16 * 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%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001849/0.6503, allocations: 143.8 kB / 0.7715 GB, free: 26.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.782e-05/0.6504, allocations: 21.31 kB / 0.7715 GB, free: 26.28 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.57e-05/0.6504, allocations: 17.88 kB / 0.7715 GB, free: 26.26 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.6504, allocations: 7.094 kB / 0.7715 GB, free: 26.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.6505, allocations: 3.953 kB / 0.7715 GB, free: 26.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.6505, allocations: 3.984 kB / 0.7715 GB, free: 26.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003488/0.6508, allocations: 285.5 kB / 0.7718 GB, free: 25.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.6508, allocations: 0 / 0.7718 GB, free: 25.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.651, allocations: 20.61 kB / 0.7718 GB, free: 25.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002939/0.6513, allocations: 67.02 kB / 0.7719 GB, free: 25.83 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.6514, allocations: 11.98 kB / 0.7719 GB, free: 25.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002249/0.6536, allocations: 2.794 MB / 0.7746 GB, free: 22.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6537, allocations: 3.984 kB / 0.7746 GB, free: 22.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009254/0.6546, allocations: 400.8 kB / 0.775 GB, free: 22.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.134e-05/0.6547, allocations: 92.95 kB / 0.7751 GB, free: 22.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.6547, allocations: 0 / 0.7751 GB, free: 22.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/0.655, allocations: 25.48 kB / 0.7751 GB, free: 22.22 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/0.6551, allocations: 20.03 kB / 0.7751 GB, free: 22.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.6552, allocations: 4 kB / 0.7751 GB, free: 22.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001783/0.6554, allocations: 153.5 kB / 0.7753 GB, free: 22.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6554, allocations: 0 / 0.7753 GB, free: 22.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005279/0.6559, allocations: 64 kB / 0.7753 GB, free: 21.99 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * Single equations (assignments): 7 * 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%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000162/0.6561, allocations: 104 kB / 0.7754 GB, free: 21.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.6571, allocations: 420.9 kB / 0.7758 GB, free: 21.45 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6571, allocations: 0 / 0.7758 GB, free: 21.45 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000674/0.6578, allocations: 338.1 kB / 0.7762 GB, free: 21.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005042/0.6583, allocations: 31.92 kB / 0.7762 GB, free: 21.06 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.6597, allocations: 0.6089 MB / 0.7768 GB, free: 20.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.6599, allocations: 0.7557 MB / 0.7775 GB, free: 19.65 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001698/0.6601, allocations: 13.95 kB / 0.7775 GB, free: 19.64 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.755e-05/0.6602, allocations: 15.44 kB / 0.7775 GB, free: 19.62 MB / 394.7 MB Notification: Performance of SimCode: time 1.352e-06/0.6602, allocations: 4 kB / 0.7776 GB, free: 19.62 MB / 394.7 MB Notification: Performance of Templates: time 0.00815/0.6683, allocations: 2.434 MB / 0.7799 GB, free: 17.3 MB / 394.7 MB