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.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_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") Notification: Performance of loadModel(Modelica): time 2.058/2.058, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003518, allocations: 8 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09085/0.09122, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004743/0.09601, allocations: 2.808 MB / 311.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.09785, allocations: 0.7804 MB / 312.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.09809, allocations: 12 kB / 312.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.09822, allocations: 47.59 kB / 312.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004347/0.09867, allocations: 163.5 kB / 312.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.099, allocations: 87.77 kB / 313 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005925/0.0996, allocations: 351.1 kB / 313.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002835/0.0999, allocations: 106.7 kB / 313.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002797/0.1002, allocations: 155.4 kB / 313.6 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000319/0.1005, allocations: 183.2 kB / 313.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.53e-05/0.1006, allocations: 20 kB / 313.8 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.673e-05/0.1007, allocations: 20 kB / 313.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.19e-05/0.1008, allocations: 67.69 kB / 313.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.1009, allocations: 101.5 kB / 313.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004894/0.1014, allocations: 343.2 kB / 314.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1015, allocations: 4 kB / 314.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1015, allocations: 0 / 314.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.1015, allocations: 0 / 314.3 MB, free: 11.1 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001484/0.103, allocations: 0.6699 MB / 314.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.103, allocations: 8.031 kB / 315 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.1032, allocations: 47.44 kB / 315 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000494/0.1037, allocations: 298.2 kB / 315.3 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.1037, allocations: 24.66 kB / 315.3 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.767e-05/0.1038, allocations: 28 kB / 315.3 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009889/0.1048, allocations: 358.8 kB / 315.7 MB, free: 9.574 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.1048, allocations: 0 / 315.7 MB, free: 9.574 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.271e-05/0.1049, allocations: 12 kB / 315.7 MB, free: 9.562 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.1049, allocations: 11.98 kB / 315.7 MB, free: 9.551 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009506/0.1059, allocations: 278.4 kB / 316 MB, free: 9.273 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002979/0.1089, allocations: 1.43 MB / 317.4 MB, free: 7.742 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006907/0.1096, allocations: 232.7 kB / 317.6 MB, free: 7.508 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.823e-05/0.1097, allocations: 4 kB / 317.7 MB, free: 7.504 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.1097, allocations: 38.52 kB / 317.7 MB, free: 7.457 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 3.096e-06/0.1097, allocations: 0 / 317.7 MB, free: 7.457 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.002509/0.1123, allocations: 0.7108 MB / 318.4 MB, free: 6.676 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.1123, allocations: 55.41 kB / 318.5 MB, free: 6.609 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004695/0.1128, allocations: 304.5 kB / 318.8 MB, free: 6.309 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.1129, allocations: 33.7 kB / 318.8 MB, free: 6.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.1131, allocations: 208.2 kB / 319 MB, free: 6.059 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.909e-05/0.1132, allocations: 70.92 kB / 319.1 MB, free: 5.988 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.067e-05/0.1132, allocations: 7.938 kB / 319.1 MB, free: 5.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.1134, allocations: 346.8 kB / 319.4 MB, free: 5.633 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.1137, allocations: 83.97 kB / 319.5 MB, free: 5.551 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003764/0.1141, allocations: 124.2 kB / 319.6 MB, free: 5.414 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.1145, allocations: 91.86 kB / 319.7 MB, free: 5.324 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.1145, allocations: 4 kB / 319.7 MB, free: 5.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001286/0.1158, allocations: 371.5 kB / 320.1 MB, free: 4.941 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.1158, allocations: 7.938 kB / 320.1 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1159, allocations: 0 / 320.1 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006256/0.1165, allocations: 118.6 kB / 320.2 MB, free: 4.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.1168, allocations: 27.98 kB / 320.2 MB, free: 4.781 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005232/0.1221, allocations: 4.488 MB / 324.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003983/0.1225, allocations: 27.75 kB / 324.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.1225, allocations: 16.2 kB / 324.7 MB, free: 15.84 MB / 282.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.0002392/0.1228, allocations: 141.8 kB / 324.9 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.54e-05/0.1229, allocations: 35.69 kB / 324.9 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.177e-05/0.123, allocations: 43.11 kB / 325 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.123, allocations: 0 / 325 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.123, allocations: 0 / 325 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.1232, allocations: 132.6 kB / 325.1 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.12e-05/0.1233, allocations: 8 kB / 325.1 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003944/0.1237, allocations: 27.98 kB / 325.1 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.344e-05/0.1238, allocations: 16.34 kB / 325.1 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001674/0.1255, allocations: 439.2 kB / 325.6 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001232/0.1267, allocations: 0.5254 MB / 326.1 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000338/0.1271, allocations: 91.81 kB / 326.2 MB, free: 14.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003232/0.1274, allocations: 215.1 kB / 326.4 MB, free: 14.13 MB / 282.7 MB Notification: Performance of Backend: time 7.62e-07/0.1274, allocations: 8 kB / 326.4 MB, free: 14.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001302/0.1288, allocations: 0.5764 MB / 327 MB, free: 13.5 MB / 282.7 MB Notification: Performance of SimCode: time 0.001904/0.1307, allocations: 1.264 MB / 328.2 MB, free: 12.2 MB / 282.7 MB Notification: Performance of Templates: time 0.01388/0.1446, allocations: 4.413 MB / 332.7 MB, free: 7.805 MB / 282.7 MB