Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Electrical.SingularTransfomer.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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_cpp_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadModel(ModelicaTest): time 2.167/2.167, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004361/0.0004363, allocations: 16 kB / 314.4 MB, free: 9.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2764, allocations: 54.86 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1378/0.4142, allocations: 82.25 MB / 451.5 MB, free: 8.359 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.4145, allocations: 63.92 kB / 451.6 MB, free: 8.297 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01502/0.4295, allocations: 3.87 MB / 455.4 MB, free: 4.402 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.656e-06/0.4296, allocations: 0 / 455.4 MB, free: 4.402 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.4296, allocations: 8 kB / 455.4 MB, free: 4.395 MB / 378.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.0008596/0.4305, allocations: 0.5067 MB / 456 MB, free: 3.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.4305, allocations: 12.03 kB / 456 MB, free: 3.828 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.718e-05/0.4306, allocations: 27.72 kB / 456 MB, free: 3.801 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/0.431, allocations: 246.9 kB / 456.2 MB, free: 3.516 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/0.4311, allocations: 20.44 kB / 456.3 MB, free: 3.496 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.806e-05/0.4312, allocations: 20.22 kB / 456.3 MB, free: 3.477 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004829/0.4316, allocations: 189.4 kB / 456.5 MB, free: 3.289 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.4317, allocations: 3.938 kB / 456.5 MB, free: 3.285 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.4317, allocations: 15.95 kB / 456.5 MB, free: 3.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.4317, allocations: 8 kB / 456.5 MB, free: 3.262 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004033/0.4322, allocations: 145.6 kB / 456.6 MB, free: 3.121 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.4339, allocations: 0.822 MB / 457.4 MB, free: 2.223 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.4341, allocations: 98.48 kB / 457.5 MB, free: 2.117 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.4342, allocations: 4 kB / 457.5 MB, free: 2.113 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.4342, allocations: 34.56 kB / 457.6 MB, free: 2.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.34e-06/0.4342, allocations: 0 / 457.6 MB, free: 2.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.002276/0.4365, allocations: 0.741 MB / 458.3 MB, free: 1.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.4366, allocations: 51.41 kB / 458.4 MB, free: 1.207 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.4369, allocations: 190.9 kB / 458.6 MB, free: 1.008 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.4369, allocations: 29.7 kB / 458.6 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.4371, allocations: 230.2 kB / 458.8 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.291e-05/0.4372, allocations: 63.19 kB / 458.9 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.198e-05/0.4372, allocations: 0 / 458.9 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.4374, allocations: 318.8 kB / 459.2 MB, free: 372 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.4376, allocations: 67.91 kB / 459.3 MB, free: 304 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.4378, allocations: 109.1 kB / 459.4 MB, free: 176 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.4381, allocations: 75.92 kB / 459.4 MB, free: 100 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.157e-06/0.4381, allocations: 0 / 459.4 MB, free: 100 kB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007833/0.4389, allocations: 282.2 kB / 459.7 MB, free: 15.81 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.4389, allocations: 4 kB / 459.7 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.446e-06/0.4389, allocations: 4.156 kB / 459.7 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003157/0.4393, allocations: 69.67 kB / 459.8 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.4395, allocations: 31.98 kB / 459.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003242/0.4428, allocations: 2.839 MB / 462.7 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.443, allocations: 8 kB / 462.7 MB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.4431, allocations: 8 kB / 462.7 MB, free: 12.57 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.0002107/0.4433, allocations: 141.8 kB / 462.8 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.747e-05/0.4434, allocations: 20.53 kB / 462.8 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.773e-05/0.4434, allocations: 21.88 kB / 462.9 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.517e-06/0.4435, allocations: 4 kB / 462.9 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.973e-06/0.4435, allocations: 0 / 462.9 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.4435, allocations: 7.938 kB / 462.9 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004257/0.4439, allocations: 285.5 kB / 463.1 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.018e-06/0.4439, allocations: 0 / 463.1 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.4441, allocations: 19.92 kB / 463.2 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002903/0.4444, allocations: 73.61 kB / 463.2 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.4444, allocations: 7.984 kB / 463.2 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003073/0.4475, allocations: 2.82 MB / 466.1 MB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.762e-06/0.4475, allocations: 3.953 kB / 466.1 MB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009114/0.4485, allocations: 404.8 kB / 466.5 MB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.892e-05/0.4486, allocations: 88.95 kB / 466.5 MB, free: 8.328 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/0.4486, allocations: 7.984 kB / 466.6 MB, free: 8.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.4489, allocations: 19.98 kB / 466.6 MB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.968e-05/0.449, allocations: 16.05 kB / 466.6 MB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.449, allocations: 4 kB / 466.6 MB, free: 8.281 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001945/0.4492, allocations: 148.2 kB / 466.7 MB, free: 8.137 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-07/0.4492, allocations: 0 / 466.7 MB, free: 8.137 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005103/0.4497, allocations: 64 kB / 466.8 MB, free: 8.074 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.0001642/0.4499, allocations: 119.3 kB / 466.9 MB, free: 7.949 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008629/0.4508, allocations: 413.2 kB / 467.3 MB, free: 7.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.4508, allocations: 0 / 467.3 MB, free: 7.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005958/0.4514, allocations: 333.7 kB / 467.6 MB, free: 7.168 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.4518, allocations: 23.98 kB / 467.7 MB, free: 7.145 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.4531, allocations: 0.6457 MB / 468.3 MB, free: 6.465 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.4535, allocations: 0.7518 MB / 469.1 MB, free: 5.684 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.084e-05/0.4536, allocations: 23.42 kB / 469.1 MB, free: 5.66 MB / 394.7 MB Notification: Performance of SimCode: time 1.546e-06/0.4536, allocations: 0 / 469.1 MB, free: 5.66 MB / 394.7 MB Notification: Performance of Templates: time 0.007973/0.4616, allocations: 4.36 MB / 473.5 MB, free: 1.301 MB / 394.7 MB