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.Analog.Examples.CharacteristicIdealDiodes.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.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 1.97/1.97, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003567, allocations: 12 kB / 263.9 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07611/0.07649, allocations: 44.51 MB / 308.4 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3192/0.3957, allocations: 73.15 MB / 381.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.396, allocations: 70.31 kB / 381.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02165/0.4176, allocations: 6.233 MB / 387.9 MB, free: 18.06 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.41e-06/0.4177, allocations: 0 / 387.9 MB, free: 18.06 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.663e-05/0.4177, allocations: 9.062 kB / 387.9 MB, free: 18.06 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.0009742/0.4187, allocations: 0.6541 MB / 388.6 MB, free: 17.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.4188, allocations: 13.28 kB / 388.6 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.4189, allocations: 50.77 kB / 388.6 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/0.4193, allocations: 303 kB / 388.9 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.4193, allocations: 21.47 kB / 388.9 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.931e-05/0.4194, allocations: 30.78 kB / 389 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007484/0.4201, allocations: 358.7 kB / 389.3 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.4202, allocations: 0 / 389.3 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.653e-05/0.4202, allocations: 13.47 kB / 389.3 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.4202, allocations: 8.594 kB / 389.3 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006799/0.4209, allocations: 285.8 kB / 389.6 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/0.4231, allocations: 1.428 MB / 391 MB, free: 16.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005289/0.4237, allocations: 231.1 kB / 391.3 MB, free: 16.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.4237, allocations: 0 / 391.3 MB, free: 16.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.4238, allocations: 44 kB / 391.3 MB, free: 16.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 4.178e-06/0.4238, allocations: 0 / 391.3 MB, free: 16.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.00169/0.4255, allocations: 0.7071 MB / 392 MB, free: 15.97 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.4255, allocations: 59.25 kB / 392.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/0.4259, allocations: 270.4 kB / 392.3 MB, free: 15.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.4259, allocations: 29.08 kB / 392.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.426, allocations: 262.4 kB / 392.6 MB, free: 15.58 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.759e-05/0.4261, allocations: 72.28 kB / 392.7 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.795e-05/0.4261, allocations: 11.09 kB / 392.7 MB, free: 15.53 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.457e-05/0.4262, allocations: 316 kB / 393 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/0.4265, allocations: 86.83 kB / 393.1 MB, free: 15.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/0.4268, allocations: 130 kB / 393.2 MB, free: 15.17 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.4271, allocations: 89.3 kB / 393.3 MB, free: 15.17 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.19e-06/0.4271, allocations: 0 / 393.3 MB, free: 15.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001011/0.4281, allocations: 353.5 kB / 393.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.4282, allocations: 3.875 kB / 393.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.4282, allocations: 96 / 393.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005235/0.4287, allocations: 140.2 kB / 393.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.429, allocations: 33.03 kB / 393.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003692/0.4327, allocations: 4.478 MB / 398.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/0.4331, allocations: 25 kB / 398.3 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.4331, allocations: 9.797 kB / 398.3 MB, free: 10.97 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.0002349/0.4334, allocations: 146.5 kB / 398.5 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.4e-05/0.4335, allocations: 31.09 kB / 398.5 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.849e-05/0.4336, allocations: 37.17 kB / 398.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.4336, allocations: 11.86 kB / 398.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.462e-06/0.4336, allocations: 1.453 kB / 398.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.098e-06/0.4336, allocations: 0 / 398.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004765/0.4341, allocations: 377.4 kB / 398.9 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.542e-06/0.4341, allocations: 0 / 398.9 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.4343, allocations: 23.61 kB / 399 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000435/0.4348, allocations: 120.3 kB / 399.1 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.4348, allocations: 10.34 kB / 399.1 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004255/0.4391, allocations: 4.462 MB / 403.6 MB, free: 22.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.412e-06/0.4391, allocations: 4.078 kB / 403.6 MB, free: 22.54 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007922/0.4399, allocations: 410.9 kB / 404 MB, free: 22.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.4401, allocations: 128.2 kB / 404.1 MB, free: 22.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.447e-05/0.4402, allocations: 7.562 kB / 404.1 MB, free: 22.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002886/0.4405, allocations: 29.94 kB / 404.1 MB, free: 22.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.813e-05/0.4406, allocations: 25.75 kB / 404.1 MB, free: 22.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.4406, allocations: 15.09 kB / 404.2 MB, free: 22.24 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002859/0.4409, allocations: 215.1 kB / 404.4 MB, free: 22.15 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.07e-07/0.4409, allocations: 0 / 404.4 MB, free: 22.15 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008751/0.4418, allocations: 119.5 kB / 404.5 MB, free: 22.14 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.0001455/0.442, allocations: 101.8 kB / 404.6 MB, free: 22.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001417/0.4434, allocations: 0.5808 MB / 405.2 MB, free: 21.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.993e-06/0.4434, allocations: 0 / 405.2 MB, free: 21.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006513/0.4441, allocations: 490.4 kB / 405.6 MB, free: 21.35 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.4446, allocations: 54.08 kB / 405.7 MB, free: 21.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.4459, allocations: 0.7863 MB / 406.5 MB, free: 20.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/0.4464, allocations: 0.8049 MB / 407.3 MB, free: 20.17 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.472e-05/0.4465, allocations: 21.27 kB / 407.3 MB, free: 20.16 MB / 330.7 MB Notification: Performance of SimCode: time 1.644e-06/0.4465, allocations: 0 / 407.3 MB, free: 20.16 MB / 330.7 MB Notification: Performance of Templates: time 0.01046/0.457, allocations: 7.965 MB / 415.3 MB, free: 18.64 MB / 330.7 MB