Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.65/1.65, allocations: 171.2 MB / 187.3 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003609, allocations: 12 kB / 233.8 MB, free: 0.9688 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08202/0.0824, allocations: 38.76 MB / 272.5 MB, free: 10.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3237/0.4062, allocations: 67.51 MB / 340 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.4065, allocations: 71.97 kB / 340.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02414/0.4307, allocations: 5.498 MB / 345.6 MB, free: 10.03 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4307, allocations: 0 / 345.6 MB, free: 10.03 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.473e-05/0.4308, allocations: 8 kB / 345.6 MB, free: 10.02 MB / 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.001352/0.4321, allocations: 0.6083 MB / 346.2 MB, free: 9.359 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.4322, allocations: 8.031 kB / 346.2 MB, free: 9.352 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.4323, allocations: 47.53 kB / 346.3 MB, free: 9.305 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.4328, allocations: 278.3 kB / 346.6 MB, free: 8.992 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.048e-05/0.4328, allocations: 36.88 kB / 346.6 MB, free: 8.957 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.4329, allocations: 44 kB / 346.6 MB, free: 8.914 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.4341, allocations: 451.3 kB / 347.1 MB, free: 8.445 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.4341, allocations: 7.922 kB / 347.1 MB, free: 8.438 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.959e-05/0.4342, allocations: 16 kB / 347.1 MB, free: 8.422 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.4342, allocations: 8 kB / 347.1 MB, free: 8.414 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008579/0.4351, allocations: 279.9 kB / 347.4 MB, free: 8.137 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003032/0.4381, allocations: 1.322 MB / 348.7 MB, free: 6.727 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007095/0.4389, allocations: 255.3 kB / 349 MB, free: 6.465 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.4389, allocations: 4 kB / 349 MB, free: 6.461 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/0.439, allocations: 43 kB / 349 MB, free: 6.41 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 2.946e-06/0.439, allocations: 0 / 349 MB, free: 6.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.002379/0.4414, allocations: 0.5575 MB / 349.6 MB, free: 5.824 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.4416, allocations: 239.3 kB / 349.8 MB, free: 5.535 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.4419, allocations: 207 kB / 350 MB, free: 5.324 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.778e-05/0.442, allocations: 29.7 kB / 350 MB, free: 5.289 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.4422, allocations: 274.5 kB / 350.3 MB, free: 5.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.4423, allocations: 90.56 kB / 350.4 MB, free: 4.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.4423, allocations: 12 kB / 350.4 MB, free: 4.918 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4424, allocations: 322.8 kB / 350.7 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.4428, allocations: 79.95 kB / 350.8 MB, free: 4.516 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000355/0.4431, allocations: 167.1 kB / 350.9 MB, free: 4.324 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.4435, allocations: 96 kB / 351 MB, free: 4.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.4435, allocations: 7.875 kB / 351 MB, free: 4.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007608/0.4443, allocations: 281.3 kB / 351.3 MB, free: 3.941 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.4443, allocations: 4 kB / 351.3 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.4443, allocations: 3.953 kB / 351.3 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.4443, allocations: 4 kB / 351.3 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006366/0.445, allocations: 79.89 kB / 351.4 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.445, allocations: 0 / 351.4 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003516/0.4454, allocations: 39.67 kB / 351.4 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.4454, allocations: 8 kB / 351.5 MB, free: 3.805 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.0002549/0.4457, allocations: 153.8 kB / 351.6 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.961e-05/0.4458, allocations: 23.72 kB / 351.6 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.4459, allocations: 34.64 kB / 351.7 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.4459, allocations: 7.953 kB / 351.7 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.4459, allocations: 0 / 351.7 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.446, allocations: 0 / 351.7 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006588/0.4466, allocations: 393.3 kB / 352.1 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4466, allocations: 3.938 kB / 352.1 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005195/0.4472, allocations: 63.95 kB / 352.1 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005169/0.4477, allocations: 84.75 kB / 352.2 MB, free: 2.992 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.4478, allocations: 15.92 kB / 352.2 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002987/0.4508, allocations: 1.855 MB / 354.1 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4508, allocations: 0 / 354.1 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.4522, allocations: 0.5131 MB / 354.6 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.4524, allocations: 120.9 kB / 354.7 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.325e-05/0.4525, allocations: 7.953 kB / 354.7 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/0.4528, allocations: 15.98 kB / 354.7 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.045e-05/0.4529, allocations: 19.97 kB / 354.7 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.4529, allocations: 8 kB / 354.8 MB, free: 272 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002003/0.4531, allocations: 156.2 kB / 354.9 MB, free: 116 kB / 282.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4531, allocations: 0 / 354.9 MB, free: 116 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006024/0.4538, allocations: 115.6 kB / 355 MB, free: 0 / 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.0002129/0.454, allocations: 119.2 kB / 355.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007108/0.4547, allocations: 224.1 kB / 355.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4547, allocations: 0 / 355.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006745/0.4554, allocations: 278.5 kB / 355.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.4558, allocations: 23.94 kB / 355.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.458, allocations: 1.083 MB / 356.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.4584, allocations: 0.8066 MB / 357.5 MB, free: 13.4 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.4586, allocations: 23.44 kB / 357.6 MB, free: 13.38 MB / 298.7 MB Notification: Performance of SimCode: time 1.202e-06/0.4586, allocations: 0 / 357.6 MB, free: 13.38 MB / 298.7 MB Notification: Performance of Templates: time 0.009324/0.4679, allocations: 3.839 MB / 361.4 MB, free: 9.531 MB / 298.7 MB