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.581/1.581, allocations: 171.2 MB / 184.3 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.342e-05/2.365e-05, allocations: 0 / 228.8 MB, free: 15.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2058, allocations: 38.78 MB / 267.6 MB, free: 9.453 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1011/0.3069, allocations: 67.43 MB / 335 MB, free: 5.93 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.3072, allocations: 71.95 kB / 335.1 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02278/0.33, allocations: 5.506 MB / 340.6 MB, free: 348 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.886e-06/0.33, allocations: 0 / 340.6 MB, free: 348 kB / 282.7 MB Notification: Performance of Transformations before backend: time 2.451e-05/0.3301, allocations: 8 kB / 340.6 MB, free: 340 kB / 282.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.001101/0.3312, allocations: 0.592 MB / 341.2 MB, free: 15.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3312, allocations: 8.031 kB / 341.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.3314, allocations: 43.53 kB / 341.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.3318, allocations: 270.4 kB / 341.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/0.3318, allocations: 37 kB / 341.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9e-05/0.332, allocations: 40 kB / 341.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009172/0.3329, allocations: 431.3 kB / 342 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.3329, allocations: 7.906 kB / 342 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.642e-05/0.333, allocations: 16 kB / 342 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.333, allocations: 8 kB / 342 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006744/0.3337, allocations: 264 kB / 342.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002741/0.3365, allocations: 1.326 MB / 343.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005778/0.3371, allocations: 239 kB / 343.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004631/0.3376, allocations: 185.3 kB / 344 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.3376, allocations: 7.938 kB / 344 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.3377, allocations: 38.56 kB / 344.1 MB, free: 12.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 3.768e-06/0.3377, allocations: 4 kB / 344.1 MB, free: 12.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008178/0.3385, allocations: 282 kB / 344.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/0.3387, allocations: 239.3 kB / 344.6 MB, free: 12.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.3389, allocations: 185.9 kB / 344.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.441e-05/0.339, allocations: 33.7 kB / 344.8 MB, free: 11.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.3392, allocations: 258.7 kB / 345.1 MB, free: 11.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.3393, allocations: 106.5 kB / 345.2 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.88e-05/0.3394, allocations: 4 kB / 345.2 MB, free: 11.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3395, allocations: 326.8 kB / 345.5 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.3397, allocations: 71.98 kB / 345.6 MB, free: 11.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.34, allocations: 148.1 kB / 345.7 MB, free: 10.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.3403, allocations: 91.91 kB / 345.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.93e-06/0.3403, allocations: 0 / 345.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005903/0.3409, allocations: 245.2 kB / 346 MB, free: 10.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.3409, allocations: 4 kB / 346 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.313e-06/0.3409, allocations: 3.953 kB / 346 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.341, allocations: 4 kB / 346 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004685/0.3415, allocations: 79.89 kB / 346.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.361e-06/0.3415, allocations: 4.062 kB / 346.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.3417, allocations: 35.69 kB / 346.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.3418, allocations: 11.98 kB / 346.2 MB, free: 10.4 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.000135/0.3419, allocations: 120.9 kB / 346.3 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.3e-05/0.342, allocations: 27.72 kB / 346.3 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.864e-05/0.3421, allocations: 26.78 kB / 346.3 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.092e-06/0.3421, allocations: 3.953 kB / 346.3 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.3422, allocations: 4 kB / 346.3 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.831e-06/0.3422, allocations: 7.984 kB / 346.4 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.3437, allocations: 0.7649 MB / 347.1 MB, free: 9.387 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.3437, allocations: 7.938 kB / 347.1 MB, free: 9.379 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003669/0.3441, allocations: 55.91 kB / 347.2 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004191/0.3446, allocations: 92.73 kB / 347.3 MB, free: 9.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.3446, allocations: 12.03 kB / 347.3 MB, free: 9.219 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002625/0.3473, allocations: 1.82 MB / 349.1 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.454e-06/0.3473, allocations: 3.984 kB / 349.1 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.3484, allocations: 498.9 kB / 349.6 MB, free: 6.738 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.3485, allocations: 120.8 kB / 349.7 MB, free: 6.602 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.011e-05/0.3486, allocations: 12.06 kB / 349.7 MB, free: 6.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.3489, allocations: 19.97 kB / 349.7 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.769e-05/0.349, allocations: 19.97 kB / 349.8 MB, free: 6.551 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.349, allocations: 8 kB / 349.8 MB, free: 6.543 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001993/0.3492, allocations: 160.1 kB / 349.9 MB, free: 6.387 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.86e-07/0.3492, allocations: 0 / 349.9 MB, free: 6.387 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005581/0.3498, allocations: 115.6 kB / 350 MB, free: 6.273 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * Number of discrete variables: 0 () * Number of discrete 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.0001934/0.35, allocations: 115.1 kB / 350.2 MB, free: 6.152 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004973/0.3505, allocations: 191.8 kB / 350.3 MB, free: 5.965 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.129e-06/0.3505, allocations: 4 kB / 350.3 MB, free: 5.961 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005305/0.3511, allocations: 262.5 kB / 350.6 MB, free: 5.691 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.3514, allocations: 21.03 kB / 350.6 MB, free: 5.672 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.3529, allocations: 0.7216 MB / 351.3 MB, free: 4.918 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/0.3534, allocations: 0.7989 MB / 352.1 MB, free: 4.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.174e-05/0.3535, allocations: 19.44 kB / 352.2 MB, free: 4.07 MB / 298.7 MB Notification: Performance of SimCode: time 2.113e-06/0.3536, allocations: 0 / 352.2 MB, free: 4.07 MB / 298.7 MB Notification: Performance of Templates: time 0.007809/0.3614, allocations: 3.814 MB / 356 MB, free: 256 kB / 298.7 MB