Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.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.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") Notification: Performance of loadModel(Modelica): time 2.197/2.197, allocations: 194.9 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003449, allocations: 8 kB / 264.5 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1359, allocations: 44.49 MB / 309 MB, free: 1.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4385/0.5745, allocations: 73.14 MB / 382.1 MB, free: 14.81 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.5748, allocations: 74.94 kB / 382.2 MB, free: 14.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03065/0.6055, allocations: 6.228 MB / 388.4 MB, free: 13.99 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.6055, allocations: 0 / 388.4 MB, free: 13.99 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.738e-05/0.6056, allocations: 11.33 kB / 388.4 MB, free: 13.99 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001823/0.6074, allocations: 0.6561 MB / 389.1 MB, free: 13.51 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.6075, allocations: 9.062 kB / 389.1 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.6077, allocations: 56.14 kB / 389.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005938/0.6083, allocations: 299.2 kB / 389.4 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/0.6083, allocations: 26.94 kB / 389.5 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.537e-05/0.6084, allocations: 29.94 kB / 389.5 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.6097, allocations: 368.6 kB / 389.8 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.6097, allocations: 0 / 389.8 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-05/0.6098, allocations: 17.48 kB / 389.9 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.6098, allocations: 7.625 kB / 389.9 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.6111, allocations: 280.7 kB / 390.1 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003695/0.6148, allocations: 1.426 MB / 391.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009058/0.6158, allocations: 235.2 kB / 391.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.137e-05/0.6158, allocations: 3.875 kB / 391.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.6159, allocations: 38.31 kB / 391.8 MB, free: 12.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 3.567e-06/0.6159, allocations: 3.938 kB / 391.8 MB, free: 12.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.003151/0.619, allocations: 0.7083 MB / 392.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.6191, allocations: 59.28 kB / 392.6 MB, free: 11.83 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005573/0.6197, allocations: 302.3 kB / 392.9 MB, free: 11.72 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/0.6197, allocations: 33.02 kB / 392.9 MB, free: 11.69 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.6199, allocations: 256.1 kB / 393.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.256e-05/0.62, allocations: 80.45 kB / 393.3 MB, free: 11.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.6201, allocations: 3.438 kB / 393.3 MB, free: 11.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.773e-05/0.6201, allocations: 316.5 kB / 393.6 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004429/0.6206, allocations: 92.58 kB / 393.7 MB, free: 11.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000474/0.6211, allocations: 119.6 kB / 393.8 MB, free: 11.1 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004898/0.6216, allocations: 94.62 kB / 393.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.6216, allocations: 0 / 393.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001569/0.6232, allocations: 356.9 kB / 394.2 MB, free: 11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.6233, allocations: 3.875 kB / 394.2 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.6233, allocations: 2.438 kB / 394.2 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008012/0.6241, allocations: 124.9 kB / 394.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004026/0.6245, allocations: 33.16 kB / 394.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005737/0.6303, allocations: 4.482 MB / 398.9 MB, free: 6.898 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006197/0.631, allocations: 25.8 kB / 398.9 MB, free: 6.891 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-05/0.631, allocations: 11.38 kB / 398.9 MB, free: 6.891 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003278/0.6314, allocations: 146.7 kB / 399 MB, free: 6.773 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.6315, allocations: 31.12 kB / 399.1 MB, free: 6.758 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.6316, allocations: 38.66 kB / 399.1 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.964e-06/0.6317, allocations: 11.89 kB / 399.1 MB, free: 6.746 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6317, allocations: 0 / 399.1 MB, free: 6.746 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.6317, allocations: 6.703 kB / 399.1 MB, free: 6.742 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007482/0.6324, allocations: 373.8 kB / 399.5 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.6325, allocations: 2.766 kB / 399.5 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/0.6328, allocations: 21.23 kB / 399.5 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007152/0.6335, allocations: 111.8 kB / 399.6 MB, free: 6.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/0.6336, allocations: 10.48 kB / 399.6 MB, free: 6.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006175/0.6397, allocations: 4.469 MB / 404.1 MB, free: 18.47 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6398, allocations: 128 / 404.1 MB, free: 18.47 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.6412, allocations: 420.4 kB / 404.5 MB, free: 18.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002704/0.6414, allocations: 127.7 kB / 404.6 MB, free: 18.17 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.6416, allocations: 7.812 kB / 404.7 MB, free: 18.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005665/0.6422, allocations: 23.44 kB / 404.7 MB, free: 18.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.6423, allocations: 31.34 kB / 404.7 MB, free: 18.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/0.6424, allocations: 4.188 kB / 404.7 MB, free: 18.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004326/0.6428, allocations: 225.8 kB / 404.9 MB, free: 18.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.72e-07/0.6428, allocations: 0 / 404.9 MB, free: 18.08 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001511/0.6444, allocations: 115.6 kB / 405 MB, free: 18.06 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001969/0.6446, allocations: 110 kB / 405.2 MB, free: 17.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001686/0.6463, allocations: 0.5735 MB / 405.7 MB, free: 17.62 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.6463, allocations: 0 / 405.7 MB, free: 17.62 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.6474, allocations: 491.6 kB / 406.2 MB, free: 17.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007956/0.6482, allocations: 52.88 kB / 406.3 MB, free: 17.26 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.6504, allocations: 0.7776 MB / 407 MB, free: 16.8 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005819/0.651, allocations: 0.8034 MB / 407.8 MB, free: 16.1 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.6512, allocations: 18.94 kB / 407.9 MB, free: 16.09 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6512, allocations: 3.938 kB / 407.9 MB, free: 16.09 MB / 330.7 MB Notification: Performance of Templates: time 0.01628/0.6675, allocations: 7.965 MB / 415.8 MB, free: 14.06 MB / 330.7 MB