Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadModel(Modelica): time 2.03/2.03, allocations: 194.8 MB / 212.3 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003756, allocations: 12 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1019, allocations: 44.51 MB / 309 MB, free: 1.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.405/0.5069, allocations: 72.71 MB / 381.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.5073, allocations: 75.69 kB / 381.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.022/0.5293, allocations: 5.41 MB / 387.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.5293, allocations: 1.312 kB / 387.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.373e-05/0.5294, allocations: 11.19 kB / 387.2 MB, free: 14.3 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001235/0.5306, allocations: 0.601 MB / 387.8 MB, free: 13.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.5307, allocations: 9.094 kB / 387.8 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.5308, allocations: 55.3 kB / 387.8 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.5312, allocations: 285.9 kB / 388.1 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/0.5312, allocations: 33.03 kB / 388.1 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.5313, allocations: 41.09 kB / 388.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009963/0.5323, allocations: 449.8 kB / 388.6 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.5324, allocations: 0 / 388.6 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.84e-05/0.5324, allocations: 17.5 kB / 388.6 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.5325, allocations: 14.06 kB / 388.7 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008081/0.5333, allocations: 285.5 kB / 388.9 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002699/0.536, allocations: 1.328 MB / 390.3 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005955/0.5366, allocations: 247.8 kB / 390.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.5367, allocations: 10.08 kB / 390.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.5367, allocations: 38.22 kB / 390.6 MB, free: 12.78 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 2.425e-06/0.5367, allocations: 0 / 390.6 MB, free: 12.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.002098/0.5388, allocations: 0.5548 MB / 391.1 MB, free: 12.61 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.126e-05/0.5389, allocations: 244.5 kB / 391.3 MB, free: 12.33 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.5392, allocations: 207.7 kB / 391.6 MB, free: 12.22 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.5392, allocations: 33.17 kB / 391.6 MB, free: 12.19 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.5393, allocations: 259.1 kB / 391.8 MB, free: 11.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.859e-05/0.5394, allocations: 99.39 kB / 391.9 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/0.5395, allocations: 10.44 kB / 391.9 MB, free: 11.92 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.552e-05/0.5395, allocations: 323.4 kB / 392.3 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.5398, allocations: 80.34 kB / 392.3 MB, free: 11.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.5401, allocations: 154.7 kB / 392.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.5404, allocations: 107.9 kB / 392.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5404, allocations: 0 / 392.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006443/0.5411, allocations: 276.6 kB / 392.9 MB, free: 11.47 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.5411, allocations: 10.14 kB / 392.9 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.5411, allocations: 4.031 kB / 392.9 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.5411, allocations: 0 / 392.9 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006167/0.5418, allocations: 85.02 kB / 393 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.5418, allocations: 0 / 393 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/0.5421, allocations: 36.48 kB / 393 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.5422, allocations: 11.59 kB / 393 MB, free: 11.44 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001994/0.5424, allocations: 150.2 kB / 393.2 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.456e-05/0.5424, allocations: 27.45 kB / 393.2 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.661e-05/0.5425, allocations: 34.72 kB / 393.2 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.5426, allocations: 3.938 kB / 393.2 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.5426, allocations: 3.938 kB / 393.2 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.5426, allocations: 2.719 kB / 393.2 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000526/0.5431, allocations: 392.6 kB / 393.6 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.5431, allocations: 0 / 393.6 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004669/0.5436, allocations: 48.48 kB / 393.7 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000452/0.5441, allocations: 94.28 kB / 393.7 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.5441, allocations: 10.81 kB / 393.8 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002264/0.5464, allocations: 1.855 MB / 395.6 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5464, allocations: 3.984 kB / 395.6 MB, free: 9.777 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.5475, allocations: 0.5271 MB / 396.1 MB, free: 9.594 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.335e-05/0.5476, allocations: 96.67 kB / 396.2 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.5477, allocations: 10.73 kB / 396.3 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.548, allocations: 19.22 kB / 396.3 MB, free: 9.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.322e-05/0.5481, allocations: 18.3 kB / 396.3 MB, free: 9.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.5481, allocations: 7.719 kB / 396.3 MB, free: 9.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000151/0.5483, allocations: 149.1 kB / 396.4 MB, free: 9.406 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5483, allocations: 0 / 396.4 MB, free: 9.406 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005489/0.5488, allocations: 115.7 kB / 396.6 MB, free: 9.383 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * 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 (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001576/0.549, allocations: 113.3 kB / 396.7 MB, free: 9.289 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005875/0.5496, allocations: 223.5 kB / 396.9 MB, free: 9.277 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5496, allocations: 0 / 396.9 MB, free: 9.277 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005544/0.5502, allocations: 283.8 kB / 397.2 MB, free: 9.145 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.5505, allocations: 18.39 kB / 397.2 MB, free: 9.141 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.5522, allocations: 1.075 MB / 398.3 MB, free: 8.453 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.5525, allocations: 0.7912 MB / 399 MB, free: 7.754 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.5526, allocations: 22.94 kB / 399.1 MB, free: 7.746 MB / 314.7 MB Notification: Performance of SimCode: time 8.11e-07/0.5526, allocations: 0 / 399.1 MB, free: 7.746 MB / 314.7 MB Notification: Performance of Templates: time 0.00743/0.5601, allocations: 3.844 MB / 402.9 MB, free: 7.52 MB / 314.7 MB