Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadModel(Modelica): time 1.73/1.73, allocations: 171.1 MB / 186.7 MB, free: 1.141 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003522, allocations: 12 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08689/0.08726, allocations: 38.78 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002783/0.0901, allocations: 1.623 MB / 274.3 MB, free: 9.883 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.0913, allocations: 0.5189 MB / 274.8 MB, free: 9.363 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.294e-05/0.0914, allocations: 3.938 kB / 274.8 MB, free: 9.359 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.642e-05/0.09146, allocations: 15.91 kB / 274.8 MB, free: 9.344 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.09167, allocations: 47.83 kB / 274.8 MB, free: 9.297 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.09206, allocations: 59.92 kB / 274.9 MB, free: 9.238 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.09227, allocations: 115.8 kB / 275 MB, free: 9.125 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.09243, allocations: 29.53 kB / 275 MB, free: 9.094 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.09261, allocations: 71.77 kB / 275.1 MB, free: 9.023 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.09277, allocations: 63.75 kB / 275.2 MB, free: 8.961 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.09281, allocations: 4 kB / 275.2 MB, free: 8.957 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.436e-05/0.09287, allocations: 8 kB / 275.2 MB, free: 8.949 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/0.09291, allocations: 35.77 kB / 275.2 MB, free: 8.914 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.966e-05/0.09298, allocations: 53.64 kB / 275.3 MB, free: 8.855 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.09318, allocations: 116 kB / 275.4 MB, free: 8.742 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.644e-06/0.0932, allocations: 0 / 275.4 MB, free: 8.742 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.09321, allocations: 0 / 275.4 MB, free: 8.742 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.09322, allocations: 0 / 275.4 MB, free: 8.742 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0008372/0.09407, allocations: 438.6 kB / 275.8 MB, free: 8.266 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.09413, allocations: 11.97 kB / 275.8 MB, free: 8.254 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.0942, allocations: 15.81 kB / 275.8 MB, free: 8.238 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.09442, allocations: 190.8 kB / 276 MB, free: 8.012 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.09445, allocations: 11.95 kB / 276 MB, free: 8 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.211e-05/0.09451, allocations: 16 kB / 276.1 MB, free: 7.984 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003657/0.09488, allocations: 124.2 kB / 276.2 MB, free: 7.848 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.09491, allocations: 0 / 276.2 MB, free: 7.848 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.09495, allocations: 8 kB / 276.2 MB, free: 7.84 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.09496, allocations: 0 / 276.2 MB, free: 7.84 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002843/0.09526, allocations: 79.81 kB / 276.3 MB, free: 7.762 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.09655, allocations: 0.5109 MB / 276.8 MB, free: 7.195 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.09693, allocations: 90.67 kB / 276.9 MB, free: 7.098 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.09696, allocations: 0 / 276.9 MB, free: 7.098 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.097, allocations: 34.52 kB / 276.9 MB, free: 7.055 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.09701, allocations: 0 / 276.9 MB, free: 7.055 MB / 234.7 MB Notification: Performance of matching and sorting (n=7): time 0.00111/0.09813, allocations: 263.5 kB / 277.2 MB, free: 6.77 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.552e-05/0.09821, allocations: 102.8 kB / 277.3 MB, free: 6.645 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.09842, allocations: 154.2 kB / 277.4 MB, free: 6.484 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.09847, allocations: 33.7 kB / 277.4 MB, free: 6.445 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.09858, allocations: 120.1 kB / 277.6 MB, free: 6.32 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.09863, allocations: 27.56 kB / 277.6 MB, free: 6.293 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.607e-06/0.09865, allocations: 0 / 277.6 MB, free: 6.293 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.0988, allocations: 322.8 kB / 277.9 MB, free: 5.969 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.09894, allocations: 31.98 kB / 277.9 MB, free: 5.938 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.09913, allocations: 76.14 kB / 278 MB, free: 5.848 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.0993, allocations: 39.98 kB / 278 MB, free: 5.809 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.09932, allocations: 4 kB / 278 MB, free: 5.805 MB / 234.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006734/0.1, allocations: 162.3 kB / 278.2 MB, free: 5.637 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.1, allocations: 4 kB / 278.2 MB, free: 5.633 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1001, allocations: 0 / 278.2 MB, free: 5.633 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004414/0.1005, allocations: 48.81 kB / 278.3 MB, free: 5.582 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/0.1022, allocations: 139.8 kB / 278.4 MB, free: 5.445 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003914/0.1061, allocations: 2.821 MB / 281.2 MB, free: 2.359 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.1064, allocations: 28.2 kB / 281.2 MB, free: 2.332 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.1064, allocations: 0 / 281.2 MB, free: 2.332 MB / 234.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001547/0.1066, allocations: 133.8 kB / 281.4 MB, free: 2.191 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.1067, allocations: 11.91 kB / 281.4 MB, free: 2.18 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006205/0.1073, allocations: 155 kB / 281.5 MB, free: 2.023 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1073, allocations: 0 / 281.5 MB, free: 2.023 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1073, allocations: 0 / 281.5 MB, free: 2.023 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.1074, allocations: 96.95 kB / 281.6 MB, free: 1.91 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.1075, allocations: 0 / 281.6 MB, free: 1.91 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.1078, allocations: 23.92 kB / 281.7 MB, free: 1.887 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.1078, allocations: 3.984 kB / 281.7 MB, free: 1.883 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007513/0.1086, allocations: 226.1 kB / 281.9 MB, free: 1.652 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005638/0.1092, allocations: 330.7 kB / 282.2 MB, free: 1.312 MB / 234.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001256/0.1093, allocations: 28.05 kB / 282.2 MB, free: 1.285 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.000131/0.1095, allocations: 124.1 kB / 282.3 MB, free: 1.164 MB / 234.7 MB Notification: Performance of Backend: time 6.31e-07/0.1095, allocations: 0 / 282.3 MB, free: 1.164 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001993/0.1115, allocations: 362.8 kB / 282.7 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of SimCode: time 0.001295/0.1128, allocations: 0.9352 MB / 283.6 MB, free: 15.8 MB / 250.7 MB Notification: Performance of Templates: time 0.00616/0.119, allocations: 1.564 MB / 285.2 MB, free: 14.24 MB / 250.7 MB