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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.632/1.632, allocations: 171.3 MB / 179.2 MB, free: 8.184 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.63e-05/2.654e-05, allocations: 4 kB / 222.5 MB, free: 8.793 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07179/0.07184, allocations: 38.77 MB / 261.3 MB, free: 1.941 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2743/0.3462, allocations: 66.77 MB / 328 MB, free: 5.43 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.3464, allocations: 72.2 kB / 328.1 MB, free: 5.391 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02196/0.3684, allocations: 5.445 MB / 333.6 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.383e-06/0.3685, allocations: 0 / 333.6 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.891e-05/0.3685, allocations: 8 kB / 333.6 MB, free: 0.8477 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.001061/0.3696, allocations: 0.5889 MB / 334.2 MB, free: 244 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3696, allocations: 8.031 kB / 334.2 MB, free: 236 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.3698, allocations: 43.53 kB / 334.2 MB, free: 192 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.3702, allocations: 281.3 kB / 334.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.3702, allocations: 16 kB / 334.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.829e-05/0.3703, allocations: 24 kB / 334.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006127/0.371, allocations: 241 kB / 334.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007501/0.3717, allocations: 368.7 kB / 335.1 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/0.3718, allocations: 7.906 kB / 335.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.25e-05/0.3718, allocations: 0 / 335.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.3718, allocations: 12 kB / 335.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002408/0.3743, allocations: 1.246 MB / 336.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004925/0.3748, allocations: 216.4 kB / 336.6 MB, free: 14.17 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004027/0.3752, allocations: 185.9 kB / 336.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.3752, allocations: 8.5 kB / 336.8 MB, free: 14.03 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.3753, allocations: 38.31 kB / 336.8 MB, free: 13.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 2.961e-06/0.3753, allocations: 0 / 336.8 MB, free: 13.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007491/0.3761, allocations: 254.5 kB / 337.1 MB, free: 13.78 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001527/0.3762, allocations: 235.3 kB / 337.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.3764, allocations: 156.1 kB / 337.5 MB, free: 13.35 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/0.3765, allocations: 29.7 kB / 337.5 MB, free: 13.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.3767, allocations: 269.9 kB / 337.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.3768, allocations: 104.2 kB / 337.8 MB, free: 12.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.515e-05/0.3769, allocations: 0 / 337.8 MB, free: 12.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.377, allocations: 324.6 kB / 338.2 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.3772, allocations: 63.73 kB / 338.2 MB, free: 12.62 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.3775, allocations: 133 kB / 338.4 MB, free: 12.49 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.3777, allocations: 88.7 kB / 338.4 MB, free: 12.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.24e-06/0.3777, allocations: 0 / 338.4 MB, free: 12.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000552/0.3783, allocations: 217.8 kB / 338.7 MB, free: 12.27 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.3783, allocations: 4 kB / 338.7 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.521e-06/0.3783, allocations: 4 kB / 338.7 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.3783, allocations: 4.062 kB / 338.7 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004772/0.3788, allocations: 83.84 kB / 338.7 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.3789, allocations: 7.938 kB / 338.8 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.3791, allocations: 19.75 kB / 338.8 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.3791, allocations: 7.438 kB / 338.8 MB, free: 12.14 MB / 282.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.0001306/0.3793, allocations: 108.9 kB / 338.9 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.138e-05/0.3794, allocations: 27.7 kB / 338.9 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.947e-05/0.3795, allocations: 29.78 kB / 338.9 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.517e-06/0.3795, allocations: 4 kB / 338.9 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.3795, allocations: 3.953 kB / 339 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.721e-06/0.3795, allocations: 7.984 kB / 339 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.3809, allocations: 0.671 MB / 339.6 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.505e-06/0.3809, allocations: 0 / 339.6 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003626/0.3813, allocations: 47.97 kB / 339.7 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000406/0.3817, allocations: 89.67 kB / 339.8 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.3818, allocations: 7.984 kB / 339.8 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002387/0.3842, allocations: 1.753 MB / 341.5 MB, free: 9.648 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.977e-06/0.3842, allocations: 4 kB / 341.5 MB, free: 9.645 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00091/0.3851, allocations: 481.5 kB / 342 MB, free: 9.246 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.3853, allocations: 114.8 kB / 342.1 MB, free: 9.125 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/0.3854, allocations: 0 / 342.1 MB, free: 9.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.3856, allocations: 11.98 kB / 342.1 MB, free: 9.113 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-05/0.3857, allocations: 27.47 kB / 342.2 MB, free: 9.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.3857, allocations: 4 kB / 342.2 MB, free: 9.086 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001297/0.3858, allocations: 120.9 kB / 342.3 MB, free: 8.984 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.92e-07/0.3859, allocations: 0 / 342.3 MB, free: 8.984 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005482/0.3864, allocations: 107.5 kB / 342.4 MB, free: 8.879 MB / 282.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.0001837/0.3866, allocations: 107.2 kB / 342.5 MB, free: 8.766 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004287/0.3871, allocations: 177.6 kB / 342.7 MB, free: 8.645 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.934e-06/0.3871, allocations: 4 kB / 342.7 MB, free: 8.641 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004645/0.3876, allocations: 244.2 kB / 342.9 MB, free: 8.438 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.3878, allocations: 18.95 kB / 342.9 MB, free: 8.422 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.3893, allocations: 0.6973 MB / 343.6 MB, free: 7.738 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000525/0.3898, allocations: 0.7951 MB / 344.4 MB, free: 6.918 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.893e-05/0.3899, allocations: 19.44 kB / 344.4 MB, free: 6.898 MB / 282.7 MB Notification: Performance of SimCode: time 1.795e-06/0.3899, allocations: 4 kB / 344.4 MB, free: 6.895 MB / 282.7 MB Notification: Performance of Templates: time 0.007585/0.3975, allocations: 3.706 MB / 348.1 MB, free: 3.23 MB / 282.7 MB