Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.887/1.887, allocations: 209.3 MB / 224.8 MB, free: 1.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004476/0.0004478, allocations: 12 kB / 282.6 MB, free: 9.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0886/0.08907, allocations: 48.71 MB / 331.3 MB, free: 8.934 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3747/0.4638, allocations: 76 MB / 407.3 MB, free: 9.168 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/0.4641, allocations: 63.97 kB / 407.3 MB, free: 9.105 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01549/0.4796, allocations: 3.934 MB / 411.3 MB, free: 5.164 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.941e-06/0.4796, allocations: 0 / 411.3 MB, free: 5.164 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.126e-05/0.4797, allocations: 4 kB / 411.3 MB, free: 5.16 MB / 330.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.0008691/0.4805, allocations: 0.5123 MB / 411.8 MB, free: 4.602 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.4806, allocations: 8.031 kB / 411.8 MB, free: 4.594 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.979e-05/0.4807, allocations: 27.72 kB / 411.8 MB, free: 4.566 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.4811, allocations: 254.9 kB / 412.1 MB, free: 4.277 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.4812, allocations: 20.44 kB / 412.1 MB, free: 4.258 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.828e-05/0.4812, allocations: 20 kB / 412.1 MB, free: 4.238 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.4817, allocations: 183.3 kB / 412.3 MB, free: 4.055 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4818, allocations: 0 / 412.3 MB, free: 4.055 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.4818, allocations: 16 kB / 412.3 MB, free: 4.039 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.874e-06/0.4818, allocations: 4 kB / 412.3 MB, free: 4.035 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000409/0.4822, allocations: 141.7 kB / 412.4 MB, free: 3.898 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.484, allocations: 0.8258 MB / 413.3 MB, free: 2.996 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.4843, allocations: 104.6 kB / 413.4 MB, free: 2.887 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.4843, allocations: 0 / 413.4 MB, free: 2.887 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.4844, allocations: 34.75 kB / 413.4 MB, free: 2.844 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.225e-06/0.4844, allocations: 6.344 kB / 413.4 MB, free: 2.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.002281/0.4867, allocations: 0.7375 MB / 414.2 MB, free: 2.043 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.4867, allocations: 55.34 kB / 414.2 MB, free: 1.977 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.487, allocations: 190.1 kB / 414.4 MB, free: 1.785 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.4871, allocations: 29.7 kB / 414.4 MB, free: 1.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.4872, allocations: 230.3 kB / 414.6 MB, free: 1.523 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.39e-05/0.4873, allocations: 59.19 kB / 414.7 MB, free: 1.465 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.443e-05/0.4873, allocations: 4 kB / 414.7 MB, free: 1.461 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.4875, allocations: 326.8 kB / 415 MB, free: 1.133 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.4877, allocations: 59.97 kB / 415.1 MB, free: 1.074 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.488, allocations: 109.1 kB / 415.2 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/0.4882, allocations: 75.42 kB / 415.3 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.396e-06/0.4882, allocations: 4 kB / 415.3 MB, free: 0.875 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007596/0.489, allocations: 271 kB / 415.5 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.4891, allocations: 12.16 kB / 415.5 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.929e-06/0.4891, allocations: 4 kB / 415.5 MB, free: 0.582 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003122/0.4894, allocations: 77.61 kB / 415.6 MB, free: 0.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.4896, allocations: 31.97 kB / 415.7 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003282/0.4929, allocations: 2.828 MB / 418.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.4932, allocations: 12.03 kB / 418.5 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.182e-05/0.4933, allocations: 15.98 kB / 418.5 MB, free: 13.35 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.0003231/0.4936, allocations: 142 kB / 418.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.4937, allocations: 19.81 kB / 418.7 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.394e-05/0.4939, allocations: 26.47 kB / 418.7 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.4939, allocations: 3.984 kB / 418.7 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.533e-06/0.4939, allocations: 0 / 418.7 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.078e-06/0.4939, allocations: 4 kB / 418.7 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005783/0.4945, allocations: 289.5 kB / 419 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.234e-06/0.4946, allocations: 0 / 419 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.4947, allocations: 16 kB / 419 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002881/0.495, allocations: 77.59 kB / 419.1 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.4951, allocations: 0 / 419.1 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003174/0.4982, allocations: 2.823 MB / 421.9 MB, free: 9.617 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.913e-06/0.4983, allocations: 0 / 421.9 MB, free: 9.617 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009514/0.4992, allocations: 409.2 kB / 422.3 MB, free: 9.199 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.4994, allocations: 108.9 kB / 422.4 MB, free: 9.074 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.4994, allocations: 4 kB / 422.4 MB, free: 9.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.4997, allocations: 19.98 kB / 422.4 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.886e-05/0.4999, allocations: 16.05 kB / 422.4 MB, free: 9.035 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.976e-05/0.4999, allocations: 7.984 kB / 422.5 MB, free: 9.027 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003449/0.5003, allocations: 160.2 kB / 422.6 MB, free: 8.871 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.105e-06/0.5003, allocations: 0 / 422.6 MB, free: 8.871 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009284/0.5013, allocations: 64 kB / 422.7 MB, free: 8.809 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.0002105/0.5015, allocations: 95.48 kB / 422.8 MB, free: 8.703 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001562/0.5031, allocations: 425.8 kB / 423.2 MB, free: 8.262 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.279e-06/0.5031, allocations: 320 / 423.2 MB, free: 8.262 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.5042, allocations: 341.2 kB / 423.5 MB, free: 7.902 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005466/0.5047, allocations: 31.92 kB / 423.5 MB, free: 7.871 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.5067, allocations: 0.6315 MB / 424.2 MB, free: 7.211 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007144/0.5075, allocations: 0.7596 MB / 424.9 MB, free: 6.426 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.5076, allocations: 15.44 kB / 425 MB, free: 6.414 MB / 346.7 MB Notification: Performance of SimCode: time 2.048e-06/0.5077, allocations: 0 / 425 MB, free: 6.414 MB / 346.7 MB Notification: Performance of Templates: time 0.01085/0.5185, allocations: 4.345 MB / 429.3 MB, free: 2.066 MB / 346.7 MB