Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.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) Running command: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadModel(Modelica): time 2.316/2.316, allocations: 194.8 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004936/0.0004939, allocations: 15.94 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1051, allocations: 44.51 MB / 309.1 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5024/0.6076, allocations: 74.73 MB / 383.8 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.6079, allocations: 72.06 kB / 383.9 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0318/0.6398, allocations: 8.041 MB / 391.9 MB, free: 14.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.6398, allocations: 0 / 391.9 MB, free: 14.53 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.805e-05/0.6399, allocations: 11.62 kB / 391.9 MB, free: 14.53 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001683/0.6416, allocations: 0.7747 MB / 392.7 MB, free: 14.01 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.6416, allocations: 7.75 kB / 392.7 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.6418, allocations: 72.73 kB / 392.8 MB, free: 13.97 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005602/0.6423, allocations: 356.2 kB / 393.1 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.6424, allocations: 37.44 kB / 393.1 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.764e-05/0.6425, allocations: 49 kB / 393.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.6436, allocations: 482 kB / 393.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.6437, allocations: 0 / 393.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.856e-05/0.6437, allocations: 19.62 kB / 393.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.6438, allocations: 15.47 kB / 393.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009302/0.6447, allocations: 342.9 kB / 394 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003675/0.6484, allocations: 1.706 MB / 395.7 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006258/0.6491, allocations: 272.7 kB / 396 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/0.6491, allocations: 3.844 kB / 396 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.6492, allocations: 42.59 kB / 396 MB, free: 12.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 2.866e-06/0.6492, allocations: 0 / 396 MB, free: 12.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.002675/0.6519, allocations: 0.9681 MB / 397 MB, free: 12.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.6519, allocations: 81.05 kB / 397.1 MB, free: 12.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005304/0.6525, allocations: 388.9 kB / 397.5 MB, free: 12.01 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.6525, allocations: 32.45 kB / 397.5 MB, free: 11.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.6527, allocations: 281.2 kB / 397.8 MB, free: 11.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.997e-05/0.6528, allocations: 117.6 kB / 397.9 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/0.6528, allocations: 10.38 kB / 397.9 MB, free: 11.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.026e-05/0.6529, allocations: 350.8 kB / 398.2 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.6533, allocations: 98.38 kB / 398.3 MB, free: 11.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003778/0.6537, allocations: 197.9 kB / 398.5 MB, free: 11.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003878/0.6541, allocations: 126 kB / 398.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.6541, allocations: 1.344 kB / 398.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0013/0.6554, allocations: 460.4 kB / 399.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.6554, allocations: 7.656 kB / 399.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.6554, allocations: 3.75 kB / 399.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004728/0.6559, allocations: 84.88 kB / 399.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005643/0.6565, allocations: 81.45 kB / 399.3 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00259/0.6591, allocations: 2.873 MB / 402.2 MB, free: 8.551 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005547/0.6597, allocations: 18.19 kB / 402.2 MB, free: 8.551 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.6598, allocations: 14.34 kB / 402.2 MB, free: 8.551 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003165/0.6601, allocations: 164 kB / 402.4 MB, free: 8.426 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.6602, allocations: 46.05 kB / 402.4 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.539e-05/0.6603, allocations: 41.88 kB / 402.4 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.6603, allocations: 3.812 kB / 402.4 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.6603, allocations: 3.875 kB / 402.4 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.6604, allocations: 3.953 kB / 402.4 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.6622, allocations: 0.9491 MB / 403.4 MB, free: 7.973 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.6623, allocations: 3.938 kB / 403.4 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003531/0.6626, allocations: 50.42 kB / 403.5 MB, free: 7.965 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004275/0.6631, allocations: 77.53 kB / 403.5 MB, free: 7.945 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/0.6631, allocations: 15.05 kB / 403.5 MB, free: 7.941 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002592/0.6657, allocations: 2.875 MB / 406.4 MB, free: 5.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.6658, allocations: 0 / 406.4 MB, free: 5.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.6672, allocations: 0.6247 MB / 407 MB, free: 5.051 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.6674, allocations: 114.2 kB / 407.2 MB, free: 4.938 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.283e-05/0.6675, allocations: 6.125 kB / 407.2 MB, free: 4.938 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005752/0.6681, allocations: 41.48 kB / 407.2 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.736e-05/0.6682, allocations: 21.14 kB / 407.2 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.6683, allocations: 23.23 kB / 407.2 MB, free: 4.922 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004502/0.6687, allocations: 269 kB / 407.5 MB, free: 4.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6687, allocations: 0 / 407.5 MB, free: 4.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008403/0.6696, allocations: 121.9 kB / 407.6 MB, free: 4.84 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001883/0.6698, allocations: 114.7 kB / 407.7 MB, free: 4.742 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.671, allocations: 0.5219 MB / 408.3 MB, free: 4.492 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.671, allocations: 0 / 408.3 MB, free: 4.492 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007944/0.6718, allocations: 389.7 kB / 408.6 MB, free: 4.266 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005655/0.6724, allocations: 48.98 kB / 408.7 MB, free: 4.258 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.6747, allocations: 1.174 MB / 409.9 MB, free: 3.547 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005817/0.6753, allocations: 0.8502 MB / 410.7 MB, free: 18.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003652/0.6757, allocations: 47.06 kB / 410.8 MB, free: 18.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.6758, allocations: 30.47 kB / 410.8 MB, free: 18.81 MB / 330.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6759, allocations: 0 / 410.8 MB, free: 18.81 MB / 330.7 MB Notification: Performance of Templates: time 0.01309/0.689, allocations: 4.238 MB / 415 MB, free: 17.34 MB / 330.7 MB