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.073/2.073, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004809/0.000481, allocations: 12 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1063, allocations: 44.51 MB / 309 MB, free: 364 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4795/0.5859, allocations: 72.72 MB / 381.8 MB, free: 19.31 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003642/0.5863, allocations: 71.23 kB / 381.8 MB, free: 19.31 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01654/0.6029, allocations: 2.587 MB / 384.4 MB, free: 18.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.6029, allocations: 0 / 384.4 MB, free: 18.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.603, allocations: 2.5 kB / 384.4 MB, free: 18.86 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0009131/0.6039, allocations: 440 kB / 384.9 MB, free: 18.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.604, allocations: 8.188 kB / 384.9 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.499e-05/0.6041, allocations: 15.81 kB / 384.9 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.6043, allocations: 208.7 kB / 385.1 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.6043, allocations: 4.312 kB / 385.1 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.133e-05/0.6044, allocations: 10.75 kB / 385.1 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004763/0.6049, allocations: 137.1 kB / 385.2 MB, free: 18.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.6049, allocations: 0 / 385.2 MB, free: 18.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.605, allocations: 4.969 kB / 385.2 MB, free: 18.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.605, allocations: 6.344 kB / 385.2 MB, free: 18.17 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003671/0.6054, allocations: 72.58 kB / 385.3 MB, free: 18.17 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.607, allocations: 0.5088 MB / 385.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004725/0.6075, allocations: 84.89 kB / 385.9 MB, free: 17.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.6075, allocations: 9 kB / 385.9 MB, free: 17.81 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.6076, allocations: 36.41 kB / 386 MB, free: 17.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 3.467e-06/0.6076, allocations: 0 / 386 MB, free: 17.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.001473/0.6091, allocations: 253.7 kB / 386.2 MB, free: 17.63 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.6092, allocations: 104.1 kB / 386.3 MB, free: 17.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.6094, allocations: 161.5 kB / 386.5 MB, free: 17.4 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.6095, allocations: 27.05 kB / 386.5 MB, free: 17.37 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.863e-05/0.6096, allocations: 119.8 kB / 386.6 MB, free: 17.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.6096, allocations: 25.25 kB / 386.6 MB, free: 17.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.292e-05/0.6097, allocations: 9.531 kB / 386.6 MB, free: 17.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.131e-05/0.6098, allocations: 325.3 kB / 387 MB, free: 16.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.61, allocations: 34.56 kB / 387 MB, free: 16.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.6102, allocations: 67.47 kB / 387.1 MB, free: 16.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.6105, allocations: 45.36 kB / 387.1 MB, free: 16.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.6105, allocations: 1.25 kB / 387.1 MB, free: 16.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005825/0.6111, allocations: 127 kB / 387.2 MB, free: 16.85 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.6112, allocations: 5.875 kB / 387.2 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.6112, allocations: 1.156 kB / 387.2 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.6112, allocations: 1.219 kB / 387.2 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002572/0.6138, allocations: 153.4 kB / 387.4 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00254/0.6164, allocations: 1.416 MB / 388.8 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.6168, allocations: 23.36 kB / 388.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.6169, allocations: 7.438 kB / 388.8 MB, free: 15.46 MB / 314.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.000178/0.6171, allocations: 123 kB / 388.9 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.183e-05/0.6172, allocations: 12.69 kB / 389 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008363/0.618, allocations: 152.8 kB / 389.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.6181, allocations: 1.562 kB / 389.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.6181, allocations: 0 / 389.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.6181, allocations: 3.953 kB / 389.1 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004287/0.6185, allocations: 224.1 kB / 389.3 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.6186, allocations: 1.625 kB / 389.3 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000282/0.6189, allocations: 20.61 kB / 389.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006595/0.6195, allocations: 57.33 kB / 389.4 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.6196, allocations: 2.219 kB / 389.4 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002178/0.6218, allocations: 1.368 MB / 390.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6218, allocations: 0 / 390.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.6229, allocations: 284.7 kB / 391.1 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.115e-05/0.623, allocations: 86.72 kB / 391.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.829e-05/0.6231, allocations: 9.391 kB / 391.2 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003687/0.6235, allocations: 17.88 kB / 391.2 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.466e-05/0.6236, allocations: 13.08 kB / 391.2 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.6236, allocations: 1.375 kB / 391.2 MB, free: 13.53 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001624/0.6238, allocations: 119.6 kB / 391.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.6238, allocations: 0 / 391.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007732/0.6246, allocations: 44 kB / 391.3 MB, free: 13.45 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * 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 (6): * Single equations (assignments): 5 * 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: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001899/0.6248, allocations: 107.9 kB / 391.4 MB, free: 13.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002071/0.6269, allocations: 169.8 kB / 391.6 MB, free: 13.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.6269, allocations: 3.812 kB / 391.6 MB, free: 13.35 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005363/0.6275, allocations: 161.2 kB / 391.8 MB, free: 13.24 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.6278, allocations: 7.312 kB / 391.8 MB, free: 13.24 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.6292, allocations: 469.2 kB / 392.2 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.6295, allocations: 0.7171 MB / 393 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001352/0.6296, allocations: 10 kB / 393 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.463e-05/0.6297, allocations: 12.12 kB / 393 MB, free: 12.22 MB / 314.7 MB Notification: Performance of SimCode: time 1.573e-06/0.6297, allocations: 0 / 393 MB, free: 12.22 MB / 314.7 MB Notification: Performance of Templates: time 0.007573/0.6373, allocations: 1.464 MB / 394.4 MB, free: 12.09 MB / 314.7 MB