Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 1.768/1.768, allocations: 194.9 MB / 211.7 MB, free: 2.977 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006219/0.0006221, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09901/0.09966, allocations: 44.5 MB / 308.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3324/0.4321, allocations: 72.71 MB / 381.2 MB, free: 18.76 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/0.4325, allocations: 72.61 kB / 381.2 MB, free: 18.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03274/0.4653, allocations: 5.421 MB / 386.6 MB, free: 18.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.221e-06/0.4653, allocations: 0 / 386.6 MB, free: 18.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.053e-05/0.4654, allocations: 8.094 kB / 386.7 MB, free: 18.1 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.0008874/0.4663, allocations: 0.6087 MB / 387.3 MB, free: 17.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.4663, allocations: 12.72 kB / 387.3 MB, free: 17.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.4665, allocations: 47.3 kB / 387.3 MB, free: 17.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.4668, allocations: 280.9 kB / 387.6 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.4668, allocations: 36.84 kB / 387.6 MB, free: 17.37 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.512e-05/0.4669, allocations: 38.59 kB / 387.7 MB, free: 17.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008446/0.4678, allocations: 449.2 kB / 388.1 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.4678, allocations: 1.438 kB / 388.1 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.435e-05/0.4679, allocations: 18.62 kB / 388.1 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.4679, allocations: 9.406 kB / 388.1 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009188/0.4688, allocations: 285.2 kB / 388.4 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003743/0.4726, allocations: 1.33 MB / 389.7 MB, free: 16.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007929/0.4735, allocations: 245.4 kB / 390 MB, free: 16.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.122e-05/0.4735, allocations: 6.984 kB / 390 MB, free: 16.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.4736, allocations: 37.09 kB / 390 MB, free: 16.58 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 5.319e-06/0.4736, allocations: 0 / 390 MB, free: 16.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.002533/0.4762, allocations: 0.5653 MB / 390.6 MB, free: 16.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/0.4763, allocations: 242 kB / 390.8 MB, free: 16.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.4766, allocations: 188.7 kB / 391 MB, free: 16.03 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/0.4767, allocations: 32.83 kB / 391 MB, free: 16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.4768, allocations: 257.4 kB / 391.3 MB, free: 15.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.843e-05/0.4769, allocations: 98.39 kB / 391.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.477, allocations: 3.875 kB / 391.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.514e-05/0.4771, allocations: 327.4 kB / 391.7 MB, free: 15.42 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.4774, allocations: 80.92 kB / 391.8 MB, free: 15.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003896/0.4778, allocations: 161.2 kB / 391.9 MB, free: 15.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.4782, allocations: 100.9 kB / 392 MB, free: 15.33 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.355e-06/0.4783, allocations: 0 / 392 MB, free: 15.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009313/0.4792, allocations: 277.8 kB / 392.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.4793, allocations: 7.75 kB / 392.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.4793, allocations: 0 / 392.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.4793, allocations: 4.031 kB / 392.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006371/0.48, allocations: 84 kB / 392.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.48, allocations: 2.25 kB / 392.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.4804, allocations: 30.69 kB / 392.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/0.4805, allocations: 18.08 kB / 392.5 MB, free: 15.25 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.0003068/0.4808, allocations: 147.9 kB / 392.6 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.4809, allocations: 27.45 kB / 392.6 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.4811, allocations: 38.2 kB / 392.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.442e-06/0.4811, allocations: 3.938 kB / 392.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/0.4811, allocations: 3.938 kB / 392.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.4812, allocations: 2.062 kB / 392.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009192/0.4821, allocations: 392.5 kB / 393.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.823e-06/0.4821, allocations: 0 / 393.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005827/0.4827, allocations: 52.8 kB / 393.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004129/0.4832, allocations: 92.53 kB / 393.2 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.4832, allocations: 11.56 kB / 393.2 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002097/0.4853, allocations: 1.852 MB / 395.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.748e-06/0.4853, allocations: 0 / 395.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.4864, allocations: 0.5229 MB / 395.6 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-05/0.4865, allocations: 94.83 kB / 395.7 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.824e-05/0.4866, allocations: 7.609 kB / 395.7 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.4868, allocations: 16.61 kB / 395.7 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.4869, allocations: 25.19 kB / 395.7 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.4869, allocations: 7.688 kB / 395.7 MB, free: 13.3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001548/0.4871, allocations: 145.9 kB / 395.9 MB, free: 13.22 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.05e-07/0.4871, allocations: 0 / 395.9 MB, free: 13.22 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005206/0.4877, allocations: 120 kB / 396 MB, free: 13.2 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.0001432/0.4878, allocations: 120 kB / 396.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005007/0.4883, allocations: 221.4 kB / 396.3 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.385e-06/0.4883, allocations: 3.516 kB / 396.3 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004716/0.4888, allocations: 282.6 kB / 396.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.4891, allocations: 16.86 kB / 396.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.4907, allocations: 1.073 MB / 397.7 MB, free: 12.26 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.4909, allocations: 0.7895 MB / 398.5 MB, free: 11.56 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.586e-05/0.491, allocations: 23.06 kB / 398.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of SimCode: time 1.901e-06/0.491, allocations: 0 / 398.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of Templates: time 0.006549/0.4976, allocations: 3.848 MB / 402.4 MB, free: 11.32 MB / 314.7 MB