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.684/1.684, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.295e-05/3.307e-05, allocations: 4 kB / 228.1 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08462/0.08469, allocations: 38.77 MB / 266.9 MB, free: 492 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004588/0.08933, allocations: 2.748 MB / 269.7 MB, free: 13.71 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.09108, allocations: 0.6824 MB / 270.3 MB, free: 13.02 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.09131, allocations: 8 kB / 270.3 MB, free: 13.02 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.09145, allocations: 55.59 kB / 270.4 MB, free: 12.96 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004163/0.09188, allocations: 147.5 kB / 270.5 MB, free: 12.82 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.09218, allocations: 75.91 kB / 270.6 MB, free: 12.74 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004941/0.09268, allocations: 267.4 kB / 270.9 MB, free: 12.48 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002334/0.09293, allocations: 65.59 kB / 270.9 MB, free: 12.41 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.09321, allocations: 139.6 kB / 271.1 MB, free: 12.28 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003151/0.09354, allocations: 163.4 kB / 271.2 MB, free: 12.12 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.147e-05/0.09364, allocations: 20 kB / 271.3 MB, free: 12.1 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.307e-05/0.09372, allocations: 20 kB / 271.3 MB, free: 12.08 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.786e-05/0.09382, allocations: 63.69 kB / 271.3 MB, free: 12.02 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.09395, allocations: 40 kB / 271.4 MB, free: 11.98 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005061/0.09447, allocations: 358.9 kB / 271.7 MB, free: 11.62 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.09448, allocations: 0 / 271.7 MB, free: 11.62 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.0945, allocations: 0 / 271.7 MB, free: 11.62 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.09452, allocations: 0 / 271.7 MB, free: 11.62 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.001391/0.09592, allocations: 0.6237 MB / 272.4 MB, free: 10.95 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.09597, allocations: 8.031 kB / 272.4 MB, free: 10.95 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.09611, allocations: 47.44 kB / 272.4 MB, free: 10.9 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006279/0.09675, allocations: 302.2 kB / 272.7 MB, free: 10.57 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.807e-05/0.09685, allocations: 32.55 kB / 272.7 MB, free: 10.54 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.09699, allocations: 35.98 kB / 272.8 MB, free: 10.5 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.0986, allocations: 354.7 kB / 273.1 MB, free: 10.13 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.09867, allocations: 4 kB / 273.1 MB, free: 10.13 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.38e-05/0.09877, allocations: 12 kB / 273.1 MB, free: 10.12 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/0.09881, allocations: 8 kB / 273.1 MB, free: 10.11 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.1003, allocations: 274.4 kB / 273.4 MB, free: 9.844 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005118/0.1055, allocations: 1.438 MB / 274.8 MB, free: 8.305 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009659/0.1065, allocations: 237.7 kB / 275.1 MB, free: 8.066 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.481e-05/0.1066, allocations: 4 kB / 275.1 MB, free: 8.062 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.15e-05/0.1067, allocations: 38.56 kB / 275.1 MB, free: 8.016 MB / 234.7 MB Notification: Performance of pre-optimization done (n=24): time 6.261e-06/0.1067, allocations: 3.938 kB / 275.1 MB, free: 8.012 MB / 234.7 MB Notification: Performance of matching and sorting (n=24): time 0.003355/0.1101, allocations: 0.7101 MB / 275.8 MB, free: 7.23 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.1102, allocations: 55.36 kB / 275.9 MB, free: 7.164 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004739/0.1107, allocations: 275.7 kB / 276.2 MB, free: 6.891 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.1107, allocations: 29.7 kB / 276.2 MB, free: 6.855 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.1109, allocations: 212.1 kB / 276.4 MB, free: 6.645 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.47e-05/0.111, allocations: 74.91 kB / 276.5 MB, free: 6.57 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.1111, allocations: 8 kB / 276.5 MB, free: 6.562 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1112, allocations: 334.8 kB / 276.8 MB, free: 6.227 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003481/0.1116, allocations: 87.95 kB / 276.9 MB, free: 6.141 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/0.112, allocations: 132.2 kB / 277 MB, free: 5.996 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/0.1124, allocations: 95.91 kB / 277.1 MB, free: 5.902 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.1124, allocations: 0 / 277.1 MB, free: 5.902 MB / 234.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001357/0.1138, allocations: 375.6 kB / 277.5 MB, free: 5.52 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.1138, allocations: 5.25 kB / 277.5 MB, free: 5.516 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.1138, allocations: 4 kB / 277.5 MB, free: 5.512 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006267/0.1145, allocations: 114.5 kB / 277.6 MB, free: 5.391 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.1148, allocations: 39.92 kB / 277.6 MB, free: 5.352 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005396/0.1202, allocations: 4.485 MB / 282.1 MB, free: 468 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003985/0.1207, allocations: 27.84 kB / 282.2 MB, free: 440 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.1207, allocations: 16.06 kB / 282.2 MB, free: 424 kB / 234.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 () * 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.000298/0.121, allocations: 145.7 kB / 282.3 MB, free: 268 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.586e-05/0.1211, allocations: 47.45 kB / 282.4 MB, free: 220 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.977e-05/0.1212, allocations: 39.17 kB / 282.4 MB, free: 180 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1212, allocations: 0 / 282.4 MB, free: 180 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1213, allocations: 0 / 282.4 MB, free: 180 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.1213, allocations: 4 kB / 282.4 MB, free: 176 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006447/0.1219, allocations: 373.3 kB / 282.8 MB, free: 15.76 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.1219, allocations: 4 kB / 282.8 MB, free: 15.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.1222, allocations: 27.98 kB / 282.8 MB, free: 15.73 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005355/0.1227, allocations: 106.5 kB / 282.9 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.1228, allocations: 8 kB / 282.9 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005234/0.128, allocations: 4.477 MB / 287.4 MB, free: 10.73 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1281, allocations: 0 / 287.4 MB, free: 10.73 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.1292, allocations: 416.5 kB / 287.8 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/0.1294, allocations: 132.6 kB / 287.9 MB, free: 10.15 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.387e-05/0.1295, allocations: 4 kB / 287.9 MB, free: 10.15 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004051/0.1299, allocations: 27.98 kB / 288 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.1301, allocations: 31.81 kB / 288 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.1301, allocations: 4 kB / 288 MB, free: 10.09 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003459/0.1305, allocations: 219.1 kB / 288.2 MB, free: 9.871 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1305, allocations: 0 / 288.2 MB, free: 9.871 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0009068/0.1314, allocations: 115.7 kB / 288.3 MB, free: 9.758 MB / 250.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 () * 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.0001742/0.1316, allocations: 123.2 kB / 288.4 MB, free: 9.629 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001355/0.1329, allocations: 0.5706 MB / 289 MB, free: 9.02 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.133, allocations: 4 kB / 289 MB, free: 9.016 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008272/0.1338, allocations: 488.2 kB / 289.5 MB, free: 8.5 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/0.1343, allocations: 53.31 kB / 289.5 MB, free: 8.449 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.1361, allocations: 0.7632 MB / 290.3 MB, free: 7.664 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.1366, allocations: 0.8067 MB / 291.1 MB, free: 6.828 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.000208/0.1368, allocations: 23.16 kB / 291.1 MB, free: 6.805 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.882e-05/0.1369, allocations: 31.36 kB / 291.2 MB, free: 6.773 MB / 250.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1369, allocations: 4 kB / 291.2 MB, free: 6.77 MB / 250.7 MB Notification: Performance of Templates: time 0.0148/0.1517, allocations: 4.689 MB / 295.9 MB, free: 2.098 MB / 250.7 MB