Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") Notification: Performance of loadModel(Modelica): time 1.714/1.714, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003519, allocations: 12 kB / 233.9 MB, free: 2.398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08789/0.08827, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004717/0.09304, allocations: 2.807 MB / 275.4 MB, free: 8.715 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.09505, allocations: 0.7719 MB / 276.2 MB, free: 7.941 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003108/0.09542, allocations: 8 kB / 276.2 MB, free: 7.934 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.09557, allocations: 47.59 kB / 276.3 MB, free: 7.887 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005349/0.09612, allocations: 171.5 kB / 276.4 MB, free: 7.719 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.09652, allocations: 75.92 kB / 276.5 MB, free: 7.645 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008417/0.09739, allocations: 355.2 kB / 276.8 MB, free: 7.297 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003204/0.09774, allocations: 102.7 kB / 276.9 MB, free: 7.191 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000412/0.09817, allocations: 163.4 kB / 277.1 MB, free: 7.031 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003421/0.09853, allocations: 179.2 kB / 277.3 MB, free: 6.855 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.947e-05/0.09863, allocations: 20 kB / 277.3 MB, free: 6.836 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.09874, allocations: 20 kB / 277.3 MB, free: 6.816 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.981e-05/0.09885, allocations: 75.61 kB / 277.4 MB, free: 6.742 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.099, allocations: 101.5 kB / 277.5 MB, free: 6.637 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005221/0.09954, allocations: 351.2 kB / 277.8 MB, free: 6.293 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.09955, allocations: 0 / 277.8 MB, free: 6.293 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.09957, allocations: 0 / 277.8 MB, free: 6.293 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.09959, allocations: 4 kB / 277.8 MB, free: 6.289 MB / 234.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.001626/0.1012, allocations: 0.6699 MB / 278.5 MB, free: 5.57 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.1013, allocations: 8.031 kB / 278.5 MB, free: 5.562 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.1014, allocations: 47.44 kB / 278.6 MB, free: 5.516 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005325/0.102, allocations: 302.2 kB / 278.9 MB, free: 5.176 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/0.102, allocations: 32.55 kB / 278.9 MB, free: 5.145 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.436e-05/0.1021, allocations: 35.94 kB / 278.9 MB, free: 5.109 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.1031, allocations: 350.8 kB / 279.3 MB, free: 4.746 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.1032, allocations: 4 kB / 279.3 MB, free: 4.742 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.313e-05/0.1032, allocations: 12 kB / 279.3 MB, free: 4.73 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.1033, allocations: 8 kB / 279.3 MB, free: 4.723 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009592/0.1042, allocations: 282.4 kB / 279.6 MB, free: 4.449 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003132/0.1074, allocations: 1.434 MB / 281 MB, free: 2.914 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007228/0.1081, allocations: 230.5 kB / 281.2 MB, free: 2.68 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.496e-05/0.1082, allocations: 3.938 kB / 281.2 MB, free: 2.676 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.1083, allocations: 34.56 kB / 281.3 MB, free: 2.633 MB / 234.7 MB Notification: Performance of pre-optimization done (n=24): time 3.516e-06/0.1083, allocations: 0 / 281.3 MB, free: 2.633 MB / 234.7 MB Notification: Performance of matching and sorting (n=24): time 0.002629/0.1109, allocations: 0.7102 MB / 282 MB, free: 1.852 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.111, allocations: 55.41 kB / 282 MB, free: 1.785 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005079/0.1115, allocations: 308.5 kB / 282.3 MB, free: 1.48 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 5.119e-05/0.1116, allocations: 29.7 kB / 282.4 MB, free: 1.445 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.1118, allocations: 216.1 kB / 282.6 MB, free: 1.23 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.797e-05/0.1119, allocations: 74.91 kB / 282.6 MB, free: 1.156 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/0.1119, allocations: 4 kB / 282.7 MB, free: 1.152 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1121, allocations: 338.8 kB / 283 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003667/0.1125, allocations: 91.89 kB / 283.1 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003899/0.1129, allocations: 132.2 kB / 283.2 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/0.1133, allocations: 87.98 kB / 283.3 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.1133, allocations: 3.938 kB / 283.3 MB, free: 500 kB / 234.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001351/0.1147, allocations: 375.5 kB / 283.7 MB, free: 108 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.1147, allocations: 8 kB / 283.7 MB, free: 100 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.1148, allocations: 0 / 283.7 MB, free: 100 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006881/0.1154, allocations: 126.5 kB / 283.8 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003327/0.1158, allocations: 31.98 kB / 283.8 MB, free: 15.93 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005815/0.1216, allocations: 4.484 MB / 288.3 MB, free: 11.04 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004004/0.1221, allocations: 23.88 kB / 288.3 MB, free: 11.02 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.1221, allocations: 8 kB / 288.3 MB, free: 11.01 MB / 250.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.0002594/0.1224, allocations: 153.7 kB / 288.5 MB, free: 10.85 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.719e-05/0.1225, allocations: 31.62 kB / 288.5 MB, free: 10.82 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.232e-05/0.1226, allocations: 43.23 kB / 288.6 MB, free: 10.78 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1226, allocations: 0 / 288.6 MB, free: 10.78 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1226, allocations: 0 / 288.6 MB, free: 10.78 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/0.1228, allocations: 132.6 kB / 288.7 MB, free: 10.63 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.563e-05/0.1229, allocations: 8 kB / 288.7 MB, free: 10.62 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/0.1233, allocations: 23.94 kB / 288.7 MB, free: 10.6 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.1234, allocations: 19.97 kB / 288.7 MB, free: 10.58 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001714/0.1252, allocations: 447.9 kB / 289.2 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001321/0.1265, allocations: 0.5254 MB / 289.7 MB, free: 9.582 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003474/0.1269, allocations: 83.95 kB / 289.8 MB, free: 9.5 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003616/0.1273, allocations: 215.1 kB / 290 MB, free: 9.293 MB / 250.7 MB Notification: Performance of Backend: time 6.41e-07/0.1273, allocations: 0 / 290 MB, free: 9.293 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001435/0.1288, allocations: 0.5941 MB / 290.6 MB, free: 8.656 MB / 250.7 MB Notification: Performance of SimCode: time 0.001985/0.1308, allocations: 1.275 MB / 291.9 MB, free: 7.336 MB / 250.7 MB Notification: Performance of Templates: time 0.01402/0.1448, allocations: 4.403 MB / 296.3 MB, free: 2.953 MB / 250.7 MB