Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadModel(Modelica): time 2.122/2.122, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003405, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09138/0.09174, allocations: 44.51 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002763/0.09455, allocations: 1.612 MB / 310.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.09582, allocations: 0.5311 MB / 311.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.819e-05/0.09593, allocations: 4 kB / 311.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.911e-05/0.09599, allocations: 11.91 kB / 311.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.09618, allocations: 55.83 kB / 311.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.09656, allocations: 59.86 kB / 311.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.09678, allocations: 119.6 kB / 311.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.09694, allocations: 37.45 kB / 311.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.09712, allocations: 63.77 kB / 311.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.09728, allocations: 63.7 kB / 311.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.09733, allocations: 8 kB / 311.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.933e-05/0.09737, allocations: 8 kB / 311.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.061e-05/0.09743, allocations: 31.89 kB / 311.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.487e-05/0.09749, allocations: 45.64 kB / 311.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.09769, allocations: 119.9 kB / 311.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.09771, allocations: 0 / 311.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.09772, allocations: 0 / 311.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.09773, allocations: 0 / 311.8 MB, free: 13.55 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0008578/0.0986, allocations: 430.8 kB / 312.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.09865, allocations: 8.031 kB / 312.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.52e-05/0.09873, allocations: 19.8 kB / 312.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.09895, allocations: 189 kB / 312.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.09898, allocations: 8 kB / 312.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.294e-05/0.09903, allocations: 11.98 kB / 312.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003716/0.09942, allocations: 136.2 kB / 312.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.09945, allocations: 4 kB / 312.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.09948, allocations: 4 kB / 312.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.0995, allocations: 0 / 312.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.09978, allocations: 79.89 kB / 312.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.1011, allocations: 0.5069 MB / 313.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.1015, allocations: 90.53 kB / 313.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.1015, allocations: 4 kB / 313.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.1015, allocations: 34.56 kB / 313.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 2.474e-06/0.1016, allocations: 0 / 313.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.001152/0.1027, allocations: 255.4 kB / 313.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/0.1028, allocations: 106.8 kB / 313.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.103, allocations: 158.1 kB / 313.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.1031, allocations: 29.7 kB / 313.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.751e-05/0.1032, allocations: 115.9 kB / 314 MB, free: 11.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.1032, allocations: 27.56 kB / 314 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.257e-05/0.1032, allocations: 4 kB / 314 MB, free: 11.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1034, allocations: 330.8 kB / 314.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.1035, allocations: 27.98 kB / 314.4 MB, free: 10.76 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.1037, allocations: 76.2 kB / 314.4 MB, free: 10.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.1039, allocations: 36.03 kB / 314.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1039, allocations: 0 / 314.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000396/0.1043, allocations: 129.6 kB / 314.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.1043, allocations: 4 kB / 314.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1044, allocations: 0 / 314.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.1044, allocations: 4 kB / 314.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001853/0.1063, allocations: 151.9 kB / 314.7 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/0.1084, allocations: 1.421 MB / 316.2 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.1087, allocations: 20.2 kB / 316.2 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.1088, allocations: 4 kB / 316.2 MB, free: 8.766 MB / 266.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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001483/0.1089, allocations: 125.8 kB / 316.3 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.915e-05/0.109, allocations: 11.81 kB / 316.3 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006277/0.1096, allocations: 155.1 kB / 316.5 MB, free: 8.457 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.1096, allocations: 3.984 kB / 316.5 MB, free: 8.453 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1096, allocations: 0 / 316.5 MB, free: 8.453 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.876e-05/0.1097, allocations: 88.97 kB / 316.6 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.1098, allocations: 7.938 kB / 316.6 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.11, allocations: 11.98 kB / 316.6 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.1101, allocations: 7.984 kB / 316.6 MB, free: 8.32 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007813/0.1109, allocations: 230.1 kB / 316.8 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000544/0.1114, allocations: 326.7 kB / 317.1 MB, free: 7.75 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001281/0.1116, allocations: 28.05 kB / 317.2 MB, free: 7.723 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001237/0.1117, allocations: 115.2 kB / 317.3 MB, free: 7.609 MB / 266.7 MB Notification: Performance of Backend: time 7.81e-07/0.1117, allocations: 0 / 317.3 MB, free: 7.609 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.1134, allocations: 228.1 kB / 317.5 MB, free: 7.383 MB / 266.7 MB Notification: Performance of SimCode: time 0.001412/0.1148, allocations: 0.9191 MB / 318.4 MB, free: 6.418 MB / 266.7 MB Notification: Performance of Templates: time 0.005629/0.1205, allocations: 1.341 MB / 319.8 MB, free: 5.078 MB / 266.7 MB