Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Electrical.SingularTransfomer.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadModel(ModelicaTest): time 1.892/1.892, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005831/0.0005832, allocations: 8 kB / 283.1 MB, free: 9.711 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3813, allocations: 48.7 MB / 331.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1311/0.5125, allocations: 76.01 MB / 407.8 MB, free: 2.445 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.5128, allocations: 67.97 kB / 407.9 MB, free: 2.379 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01741/0.5302, allocations: 3.927 MB / 411.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.001e-06/0.5303, allocations: 0 / 411.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.006e-05/0.5303, allocations: 7.938 kB / 411.8 MB, free: 14.43 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001087/0.5314, allocations: 0.5152 MB / 412.3 MB, free: 13.87 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.5315, allocations: 12.03 kB / 412.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.194e-05/0.5316, allocations: 27.72 kB / 412.4 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000526/0.5321, allocations: 259 kB / 412.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.5321, allocations: 16.44 kB / 412.6 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.696e-05/0.5322, allocations: 20 kB / 412.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005848/0.5328, allocations: 191.2 kB / 412.8 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.5328, allocations: 0 / 412.8 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.193e-05/0.5329, allocations: 12 kB / 412.8 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.5329, allocations: 4 kB / 412.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004901/0.5334, allocations: 141.6 kB / 413 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002137/0.5356, allocations: 0.826 MB / 413.8 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003276/0.536, allocations: 94.48 kB / 413.9 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.536, allocations: 6.406 kB / 413.9 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.536, allocations: 30.56 kB / 413.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.746e-06/0.5361, allocations: 4 kB / 413.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.002889/0.539, allocations: 0.7526 MB / 414.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.5391, allocations: 55.41 kB / 414.7 MB, free: 11.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003385/0.5394, allocations: 210.9 kB / 415 MB, free: 11.01 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.5395, allocations: 29.7 kB / 415 MB, free: 10.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.5396, allocations: 226.3 kB / 415.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.838e-05/0.5397, allocations: 59.19 kB / 415.3 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.485e-05/0.5398, allocations: 0 / 415.3 MB, free: 10.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.5399, allocations: 330.8 kB / 415.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.5402, allocations: 63.97 kB / 415.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.5405, allocations: 105.1 kB / 415.7 MB, free: 10.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.5409, allocations: 79.92 kB / 415.8 MB, free: 10.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5409, allocations: 0 / 415.8 MB, free: 10.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009454/0.5418, allocations: 279 kB / 416.1 MB, free: 9.816 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.5419, allocations: 7.984 kB / 416.1 MB, free: 9.809 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.5419, allocations: 4 kB / 416.1 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003922/0.5423, allocations: 65.84 kB / 416.2 MB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.5426, allocations: 39.91 kB / 416.2 MB, free: 9.695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003539/0.5462, allocations: 2.832 MB / 419 MB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/0.5465, allocations: 12.2 kB / 419.1 MB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.5465, allocations: 8 kB / 419.1 MB, free: 6.578 MB / 346.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.0002313/0.5468, allocations: 141.7 kB / 419.2 MB, free: 6.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.589e-05/0.5469, allocations: 15.81 kB / 419.2 MB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.096e-05/0.5469, allocations: 21.86 kB / 419.2 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.5469, allocations: 4.062 kB / 419.2 MB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.547, allocations: 7.938 kB / 419.3 MB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.547, allocations: 0 / 419.3 MB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004999/0.5475, allocations: 293.5 kB / 419.5 MB, free: 6.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.5475, allocations: 0 / 419.5 MB, free: 6.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/0.5477, allocations: 19.92 kB / 419.6 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003453/0.5481, allocations: 65.67 kB / 419.6 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.5481, allocations: 4 kB / 419.6 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003663/0.5518, allocations: 2.824 MB / 422.4 MB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5519, allocations: 0 / 422.4 MB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.5531, allocations: 400.9 kB / 422.8 MB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.5533, allocations: 108.9 kB / 422.9 MB, free: 2.316 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.151e-05/0.5534, allocations: 8 kB / 423 MB, free: 2.309 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/0.5537, allocations: 19.98 kB / 423 MB, free: 2.289 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-05/0.5538, allocations: 11.98 kB / 423 MB, free: 2.277 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.5538, allocations: 8.359 kB / 423 MB, free: 2.27 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000224/0.5541, allocations: 156.2 kB / 423.1 MB, free: 2.117 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.5541, allocations: 4 kB / 423.2 MB, free: 2.113 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005298/0.5546, allocations: 68 kB / 423.2 MB, free: 2.047 MB / 346.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.0001975/0.5548, allocations: 103.2 kB / 423.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.556, allocations: 421.7 kB / 423.7 MB, free: 1.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.556, allocations: 0 / 423.7 MB, free: 1.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007328/0.5568, allocations: 337.4 kB / 424.1 MB, free: 1.145 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.5572, allocations: 27.94 kB / 424.1 MB, free: 1.117 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.5588, allocations: 0.628 MB / 424.7 MB, free: 468 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005105/0.5594, allocations: 0.7596 MB / 425.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.5595, allocations: 15.44 kB / 425.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of SimCode: time 3.557e-06/0.5595, allocations: 0 / 425.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of Templates: time 0.01023/0.5697, allocations: 4.366 MB / 429.9 MB, free: 11.29 MB / 362.7 MB