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.373/2.373, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.824e-05/2.847e-05, allocations: 4 kB / 309.7 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3253, allocations: 54.84 MB / 364.5 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1261/0.4514, allocations: 82.16 MB / 446.7 MB, free: 14.33 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001853/0.4517, allocations: 64.72 kB / 446.7 MB, free: 14.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01529/0.467, allocations: 3.884 MB / 450.6 MB, free: 10.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 2e-06/0.467, allocations: 1.5 kB / 450.6 MB, free: 10.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.877e-05/0.467, allocations: 4 kB / 450.6 MB, free: 10.39 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.0008262/0.4679, allocations: 486.3 kB / 451.1 MB, free: 9.875 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.4679, allocations: 11.97 kB / 451.1 MB, free: 9.863 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.743e-05/0.468, allocations: 27.72 kB / 451.1 MB, free: 9.836 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/0.4685, allocations: 251 kB / 451.4 MB, free: 9.547 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.4685, allocations: 12.44 kB / 451.4 MB, free: 9.535 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-05/0.4686, allocations: 23.98 kB / 451.4 MB, free: 9.512 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004315/0.4691, allocations: 179.3 kB / 451.6 MB, free: 9.332 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.4691, allocations: 0 / 451.6 MB, free: 9.332 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.4692, allocations: 15.95 kB / 451.6 MB, free: 9.316 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.89e-06/0.4692, allocations: 4 kB / 451.6 MB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003371/0.4695, allocations: 121.8 kB / 451.7 MB, free: 9.195 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.4713, allocations: 0.835 MB / 452.6 MB, free: 8.285 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.4715, allocations: 87.41 kB / 452.7 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.4717, allocations: 40.86 kB / 452.7 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.4717, allocations: 192 / 452.7 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.4717, allocations: 42.5 kB / 452.7 MB, free: 8.098 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.115e-06/0.4718, allocations: 0 / 452.7 MB, free: 8.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001854/0.4736, allocations: 0.6339 MB / 453.4 MB, free: 7.406 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.4737, allocations: 56.09 kB / 453.4 MB, free: 7.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.474, allocations: 191 kB / 453.6 MB, free: 7.145 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.474, allocations: 29.7 kB / 453.6 MB, free: 7.109 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.4742, allocations: 233.4 kB / 453.9 MB, free: 6.883 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.34e-05/0.4743, allocations: 55.25 kB / 453.9 MB, free: 6.828 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.652e-05/0.4743, allocations: 4 kB / 453.9 MB, free: 6.824 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4745, allocations: 322.8 kB / 454.2 MB, free: 6.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.4747, allocations: 51.94 kB / 454.3 MB, free: 6.449 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.4749, allocations: 94.11 kB / 454.4 MB, free: 6.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.475, allocations: 71.06 kB / 454.5 MB, free: 6.273 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.313e-06/0.4751, allocations: 0 / 454.5 MB, free: 6.273 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006363/0.4757, allocations: 243 kB / 454.7 MB, free: 6.023 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.4757, allocations: 4 kB / 454.7 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.543e-06/0.4758, allocations: 4.156 kB / 454.7 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003223/0.4761, allocations: 73.61 kB / 454.8 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.4764, allocations: 35.98 kB / 454.8 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003188/0.4796, allocations: 2.812 MB / 457.6 MB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.4798, allocations: 12.03 kB / 457.6 MB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.4799, allocations: 4 kB / 457.6 MB, free: 2.801 MB / 378.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 () * 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.0001375/0.48, allocations: 122.3 kB / 457.8 MB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.889e-05/0.4801, allocations: 15.88 kB / 457.8 MB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.98e-05/0.4802, allocations: 33.64 kB / 457.8 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.501e-06/0.4802, allocations: 0 / 457.8 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.186e-06/0.4802, allocations: 3.953 kB / 457.8 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.542e-06/0.4802, allocations: 0 / 457.8 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004619/0.4807, allocations: 285.5 kB / 458.1 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.469e-06/0.4807, allocations: 0 / 458.1 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.4809, allocations: 19.98 kB / 458.1 MB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003/0.4812, allocations: 69.67 kB / 458.2 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.4812, allocations: 4 kB / 458.2 MB, free: 2.199 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003083/0.4843, allocations: 2.789 MB / 461 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.616e-06/0.4844, allocations: 8.109 kB / 461 MB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007561/0.4852, allocations: 357.1 kB / 461.3 MB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.4853, allocations: 96.84 kB / 461.4 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.4853, allocations: 9.156 kB / 461.4 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.4856, allocations: 24.05 kB / 461.5 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.134e-05/0.4857, allocations: 19.92 kB / 461.5 MB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.4857, allocations: 0 / 461.5 MB, free: 14.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002054/0.486, allocations: 157.5 kB / 461.6 MB, free: 14.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.7e-07/0.486, allocations: 0 / 461.6 MB, free: 14.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005197/0.4865, allocations: 64 kB / 461.7 MB, free: 14.38 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 () * 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.0001729/0.4867, allocations: 107.3 kB / 461.8 MB, free: 14.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007598/0.4875, allocations: 373.9 kB / 462.2 MB, free: 13.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.151e-06/0.4875, allocations: 4 kB / 462.2 MB, free: 13.87 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000553/0.4881, allocations: 325.3 kB / 462.5 MB, free: 13.53 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.4884, allocations: 28.3 kB / 462.5 MB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.4894, allocations: 371.8 kB / 462.9 MB, free: 13.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/0.4899, allocations: 0.7557 MB / 463.6 MB, free: 12.33 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.04e-05/0.49, allocations: 19.44 kB / 463.6 MB, free: 12.31 MB / 394.7 MB Notification: Performance of SimCode: time 1.793e-06/0.49, allocations: 0 / 463.6 MB, free: 12.31 MB / 394.7 MB Notification: Performance of Templates: time 0.008317/0.4984, allocations: 4.352 MB / 468 MB, free: 7.965 MB / 394.7 MB