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.843/1.843, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.000357, allocations: 12 kB / 263.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07953/0.07991, allocations: 44.51 MB / 308.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003281/0.08324, allocations: 2.248 MB / 310.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.08479, allocations: 0.7336 MB / 311.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001878/0.08501, allocations: 4 kB / 311.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.08513, allocations: 51.66 kB / 311.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002465/0.08539, allocations: 91.72 kB / 311.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003812/0.08578, allocations: 83.84 kB / 311.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004347/0.08623, allocations: 299.9 kB / 311.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003353/0.08659, allocations: 162.3 kB / 312 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/0.08685, allocations: 143.5 kB / 312.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.08712, allocations: 167.2 kB / 312.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.979e-05/0.0872, allocations: 24 kB / 312.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.992e-05/0.08728, allocations: 24 kB / 312.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.38e-05/0.08737, allocations: 63.77 kB / 312.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.0875, allocations: 97.52 kB / 312.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004882/0.088, allocations: 375.2 kB / 312.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.08801, allocations: 0 / 312.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.246e-06/0.08803, allocations: 0 / 312.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.878e-06/0.08805, allocations: 0 / 312.9 MB, free: 12.46 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.001184/0.08924, allocations: 0.6162 MB / 313.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.08931, allocations: 12.03 kB / 313.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.08945, allocations: 47.48 kB / 313.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000414/0.08987, allocations: 283 kB / 313.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.467e-05/0.08993, allocations: 33 kB / 313.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.795e-05/0.09004, allocations: 44 kB / 313.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000999/0.09105, allocations: 447.2 kB / 314.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.0911, allocations: 0 / 314.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.977e-05/0.09117, allocations: 20 kB / 314.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.0912, allocations: 12 kB / 314.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007708/0.09198, allocations: 275.9 kB / 314.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002631/0.09463, allocations: 1.326 MB / 316 MB, free: 9.156 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005918/0.09524, allocations: 238.9 kB / 316.2 MB, free: 8.914 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.09529, allocations: 4 kB / 316.2 MB, free: 8.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.09534, allocations: 42.48 kB / 316.3 MB, free: 8.859 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.984e-06/0.09536, allocations: 4 kB / 316.3 MB, free: 8.855 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0018/0.09717, allocations: 0.551 MB / 316.8 MB, free: 8.277 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001647/0.09735, allocations: 247.3 kB / 317.1 MB, free: 7.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.09764, allocations: 210.8 kB / 317.3 MB, free: 7.766 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/0.0977, allocations: 33.7 kB / 317.3 MB, free: 7.727 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.0979, allocations: 258.7 kB / 317.5 MB, free: 7.473 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.09802, allocations: 94.56 kB / 317.6 MB, free: 7.379 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.951e-05/0.09805, allocations: 4 kB / 317.6 MB, free: 7.375 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.09823, allocations: 326.8 kB / 318 MB, free: 7.047 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.09849, allocations: 87.89 kB / 318 MB, free: 6.961 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003095/0.09881, allocations: 147.7 kB / 318.2 MB, free: 6.789 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.09911, allocations: 112.1 kB / 318.3 MB, free: 6.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.342e-06/0.09913, allocations: 0 / 318.3 MB, free: 6.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006792/0.09982, allocations: 269.1 kB / 318.6 MB, free: 6.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.09986, allocations: 4 kB / 318.6 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.006e-06/0.09988, allocations: 3.984 kB / 318.6 MB, free: 6.402 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.0999, allocations: 4 kB / 318.6 MB, free: 6.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004531/0.1004, allocations: 91.86 kB / 318.7 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.1004, allocations: 0 / 318.7 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.1006, allocations: 31.69 kB / 318.7 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.1007, allocations: 12 kB / 318.7 MB, free: 6.266 MB / 266.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.000219/0.1009, allocations: 153.8 kB / 318.9 MB, free: 6.105 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.325e-05/0.101, allocations: 27.67 kB / 318.9 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.664e-05/0.1011, allocations: 26.66 kB / 318.9 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.1011, allocations: 4 kB / 318.9 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.1011, allocations: 8 kB / 318.9 MB, free: 6.035 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.1011, allocations: 3.984 kB / 318.9 MB, free: 6.031 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006257/0.1018, allocations: 397.3 kB / 319.3 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.141e-06/0.1018, allocations: 0 / 319.3 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.1022, allocations: 51.91 kB / 319.4 MB, free: 5.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003953/0.1026, allocations: 88.8 kB / 319.4 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/0.1026, allocations: 7.953 kB / 319.5 MB, free: 5.445 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002725/0.1054, allocations: 1.863 MB / 321.3 MB, free: 3.449 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.1054, allocations: 0 / 321.3 MB, free: 3.449 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.1065, allocations: 0.5085 MB / 321.8 MB, free: 2.922 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.1067, allocations: 104.7 kB / 321.9 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.164e-05/0.1067, allocations: 16.12 kB / 321.9 MB, free: 2.785 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.107, allocations: 15.98 kB / 322 MB, free: 2.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/0.1071, allocations: 15.97 kB / 322 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.1071, allocations: 8 kB / 322 MB, free: 2.746 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001834/0.1073, allocations: 148.6 kB / 322.1 MB, free: 2.602 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.25e-07/0.1073, allocations: 0 / 322.1 MB, free: 2.602 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005106/0.1078, allocations: 107.6 kB / 322.2 MB, free: 2.496 MB / 266.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.0001645/0.108, allocations: 123 kB / 322.4 MB, free: 2.367 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006018/0.1086, allocations: 215.9 kB / 322.6 MB, free: 2.156 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.736e-06/0.1086, allocations: 4 kB / 322.6 MB, free: 2.152 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005959/0.1092, allocations: 274.5 kB / 322.8 MB, free: 1.871 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.1096, allocations: 20.06 kB / 322.9 MB, free: 1.852 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.1115, allocations: 1.08 MB / 323.9 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005437/0.1121, allocations: 0.795 MB / 324.7 MB, free: 15.92 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.1122, allocations: 23.42 kB / 324.8 MB, free: 15.9 MB / 282.7 MB Notification: Performance of SimCode: time 1.68e-06/0.1122, allocations: 0 / 324.8 MB, free: 15.9 MB / 282.7 MB Notification: Performance of Templates: time 0.007954/0.1202, allocations: 3.838 MB / 328.6 MB, free: 12.05 MB / 282.7 MB