Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.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) 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.1_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadModel(Modelica): time 1.578/1.578, allocations: 171.1 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003526, allocations: 8 kB / 233.2 MB, free: 3.02 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06963/0.07, allocations: 38.78 MB / 272 MB, free: 12.17 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2842/0.3543, allocations: 67.51 MB / 339.5 MB, free: 6.324 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.3546, allocations: 75.33 kB / 339.6 MB, free: 6.281 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0223/0.3769, allocations: 5.491 MB / 345.1 MB, free: 1.625 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.476e-06/0.3769, allocations: 0 / 345.1 MB, free: 1.625 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.895e-05/0.377, allocations: 8 kB / 345.1 MB, free: 1.617 MB / 266.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.001119/0.3781, allocations: 0.6145 MB / 345.7 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3782, allocations: 8.031 kB / 345.7 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.3783, allocations: 43.53 kB / 345.8 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000419/0.3787, allocations: 285.3 kB / 346 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.617e-05/0.3788, allocations: 27.31 kB / 346.1 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.738e-05/0.3789, allocations: 43.19 kB / 346.1 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009257/0.3798, allocations: 449.5 kB / 346.5 MB, free: 256 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.3798, allocations: 3.984 kB / 346.5 MB, free: 252 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.493e-05/0.3799, allocations: 19.12 kB / 346.6 MB, free: 248 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.3799, allocations: 8 kB / 346.6 MB, free: 240 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007165/0.3807, allocations: 284.4 kB / 346.8 MB, free: 44 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00265/0.3833, allocations: 1.318 MB / 348.2 MB, free: 14.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005883/0.384, allocations: 250.7 kB / 348.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.384, allocations: 7.938 kB / 348.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.013e-05/0.3841, allocations: 42.5 kB / 348.5 MB, free: 14.68 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 3.367e-06/0.3841, allocations: 0 / 348.5 MB, free: 14.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.001809/0.3859, allocations: 0.5544 MB / 349 MB, free: 14.2 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001593/0.3861, allocations: 241.8 kB / 349.3 MB, free: 13.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.3863, allocations: 189.2 kB / 349.4 MB, free: 13.74 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.3864, allocations: 33.02 kB / 349.5 MB, free: 13.71 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.3866, allocations: 263.1 kB / 349.7 MB, free: 13.47 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.3867, allocations: 100 kB / 349.8 MB, free: 13.38 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-05/0.3868, allocations: 6.562 kB / 349.8 MB, free: 13.38 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.387, allocations: 322 kB / 350.1 MB, free: 13.06 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.3872, allocations: 86.7 kB / 350.2 MB, free: 13 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/0.3875, allocations: 165.4 kB / 350.4 MB, free: 12.85 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.3878, allocations: 93.94 kB / 350.5 MB, free: 12.8 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.654e-06/0.3878, allocations: 0 / 350.5 MB, free: 12.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006658/0.3885, allocations: 280.6 kB / 350.8 MB, free: 12.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.3885, allocations: 7.938 kB / 350.8 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.99e-06/0.3886, allocations: 4 kB / 350.8 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.3886, allocations: 7.953 kB / 350.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004492/0.3891, allocations: 82.33 kB / 350.9 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.84e-06/0.3891, allocations: 0 / 350.9 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.3893, allocations: 33.44 kB / 350.9 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.3894, allocations: 26.38 kB / 350.9 MB, free: 12.44 MB / 282.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.0002482/0.3897, allocations: 145.2 kB / 351.1 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.371e-05/0.3898, allocations: 27.66 kB / 351.1 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.993e-05/0.3898, allocations: 33.52 kB / 351.1 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.3899, allocations: 7.953 kB / 351.1 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.3899, allocations: 0 / 351.1 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.053e-06/0.3899, allocations: 0 / 351.1 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006225/0.3905, allocations: 391.3 kB / 351.5 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.069e-06/0.3906, allocations: 0 / 351.5 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000373/0.391, allocations: 59.39 kB / 351.6 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004186/0.3914, allocations: 83.56 kB / 351.6 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/0.3914, allocations: 11.61 kB / 351.7 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002713/0.3942, allocations: 1.859 MB / 353.5 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.99e-06/0.3942, allocations: 3.938 kB / 353.5 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.3954, allocations: 0.5085 MB / 354 MB, free: 9.672 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.3956, allocations: 119.6 kB / 354.1 MB, free: 9.547 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.032e-05/0.3957, allocations: 7.391 kB / 354.2 MB, free: 9.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.3959, allocations: 15.19 kB / 354.2 MB, free: 9.535 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.48e-05/0.396, allocations: 23.95 kB / 354.2 MB, free: 9.512 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.396, allocations: 11.75 kB / 354.2 MB, free: 9.504 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001942/0.3963, allocations: 156.6 kB / 354.4 MB, free: 9.371 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.3963, allocations: 0 / 354.4 MB, free: 9.371 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005581/0.3968, allocations: 113.7 kB / 354.5 MB, free: 9.27 MB / 282.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.0001944/0.397, allocations: 116.9 kB / 354.6 MB, free: 9.148 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005773/0.3976, allocations: 225.7 kB / 354.8 MB, free: 8.988 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.648e-06/0.3977, allocations: 0 / 354.8 MB, free: 8.988 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005863/0.3982, allocations: 277.9 kB / 355.1 MB, free: 8.754 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.3986, allocations: 20.06 kB / 355.1 MB, free: 8.742 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.4006, allocations: 1.097 MB / 356.2 MB, free: 7.668 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005261/0.4011, allocations: 0.7989 MB / 357 MB, free: 6.844 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.4013, allocations: 19.44 kB / 357 MB, free: 6.824 MB / 282.7 MB Notification: Performance of SimCode: time 1.537e-06/0.4013, allocations: 0 / 357 MB, free: 6.824 MB / 282.7 MB Notification: Performance of Templates: time 0.008105/0.4094, allocations: 3.847 MB / 360.9 MB, free: 3.02 MB / 282.7 MB