Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.465/2.465, allocations: 234.9 MB / 251.1 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004573/0.0004571, allocations: 16 kB / 314.9 MB, free: 9.621 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3824, allocations: 54.86 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.5365, allocations: 82.23 MB / 452 MB, free: 8.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.5369, allocations: 67.97 kB / 452.1 MB, free: 8.344 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01667/0.5536, allocations: 3.884 MB / 456 MB, free: 4.441 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.5536, allocations: 0 / 456 MB, free: 4.441 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.222e-05/0.5537, allocations: 4 kB / 456 MB, free: 4.438 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.00105/0.5547, allocations: 0.5132 MB / 456.5 MB, free: 3.879 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.5548, allocations: 8.031 kB / 456.5 MB, free: 3.871 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.726e-05/0.5549, allocations: 23.72 kB / 456.5 MB, free: 3.848 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/0.5553, allocations: 251 kB / 456.8 MB, free: 3.559 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.5554, allocations: 16.44 kB / 456.8 MB, free: 3.543 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.828e-05/0.5554, allocations: 20.22 kB / 456.8 MB, free: 3.523 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005528/0.556, allocations: 191.3 kB / 457 MB, free: 3.332 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.556, allocations: 3.938 kB / 457 MB, free: 3.328 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.234e-05/0.5561, allocations: 15.89 kB / 457 MB, free: 3.312 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.5561, allocations: 7.938 kB / 457 MB, free: 3.305 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004676/0.5566, allocations: 141.7 kB / 457.1 MB, free: 3.168 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.5586, allocations: 0.8259 MB / 458 MB, free: 2.266 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.5589, allocations: 98.48 kB / 458.1 MB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.5589, allocations: 0 / 458.1 MB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.559, allocations: 30.56 kB / 458.1 MB, free: 2.121 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.559, allocations: 4 kB / 458.1 MB, free: 2.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.002707/0.5617, allocations: 0.7466 MB / 458.8 MB, free: 1.312 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.5618, allocations: 51.41 kB / 458.9 MB, free: 1.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.5621, allocations: 211.7 kB / 459.1 MB, free: 1.027 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.5621, allocations: 29.7 kB / 459.1 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.5623, allocations: 222.2 kB / 459.4 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.672e-05/0.5624, allocations: 59.19 kB / 459.4 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.72e-05/0.5624, allocations: 4 kB / 459.4 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.5625, allocations: 326.8 kB / 459.7 MB, free: 392 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.5628, allocations: 67.91 kB / 459.8 MB, free: 324 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.5631, allocations: 105.1 kB / 459.9 MB, free: 200 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.5634, allocations: 75.98 kB / 460 MB, free: 124 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5634, allocations: 0 / 460 MB, free: 124 kB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009074/0.5643, allocations: 286.9 kB / 460.3 MB, free: 15.83 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.5644, allocations: 4 kB / 460.3 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.5644, allocations: 0 / 460.3 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003846/0.5648, allocations: 73.83 kB / 460.3 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.5651, allocations: 31.92 kB / 460.4 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003167/0.5683, allocations: 2.839 MB / 463.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.5686, allocations: 4 kB / 463.2 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.5686, allocations: 16.66 kB / 463.2 MB, free: 12.59 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.0002271/0.5689, allocations: 126.3 kB / 463.3 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.825e-05/0.569, allocations: 23.8 kB / 463.4 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.353e-05/0.569, allocations: 21.88 kB / 463.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.569, allocations: 0 / 463.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.5691, allocations: 12.02 kB / 463.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.5691, allocations: 0 / 463.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004382/0.5695, allocations: 293.6 kB / 463.7 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5695, allocations: 0 / 463.7 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.5697, allocations: 23.92 kB / 463.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003238/0.5701, allocations: 69.66 kB / 463.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.5701, allocations: 4 kB / 463.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00302/0.5731, allocations: 2.819 MB / 466.6 MB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5732, allocations: 288 / 466.6 MB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.5743, allocations: 400.8 kB / 467 MB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.154e-05/0.5744, allocations: 105 kB / 467.1 MB, free: 8.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.5744, allocations: 0 / 467.1 MB, free: 8.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00032/0.5748, allocations: 19.98 kB / 467.1 MB, free: 8.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.266e-05/0.5749, allocations: 19.97 kB / 467.1 MB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.5749, allocations: 4 kB / 467.1 MB, free: 8.297 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000204/0.5751, allocations: 148.2 kB / 467.3 MB, free: 8.152 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5751, allocations: 4 kB / 467.3 MB, free: 8.148 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005098/0.5756, allocations: 67.95 kB / 467.4 MB, free: 8.082 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.0001779/0.5758, allocations: 113 kB / 467.5 MB, free: 7.965 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009894/0.5768, allocations: 413.3 kB / 467.9 MB, free: 7.535 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5769, allocations: 0 / 467.9 MB, free: 7.535 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006681/0.5775, allocations: 337.5 kB / 468.2 MB, free: 7.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.5779, allocations: 24.8 kB / 468.2 MB, free: 7.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.5794, allocations: 0.647 MB / 468.9 MB, free: 6.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.5798, allocations: 0.7557 MB / 469.6 MB, free: 5.695 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.34e-05/0.5799, allocations: 15.44 kB / 469.6 MB, free: 5.68 MB / 394.7 MB Notification: Performance of SimCode: time 1.113e-06/0.5799, allocations: 0 / 469.6 MB, free: 5.68 MB / 394.7 MB Notification: Performance of Templates: time 0.009541/0.5895, allocations: 4.351 MB / 474 MB, free: 1.324 MB / 394.7 MB