Running command: translateModel(Modelica.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiSwitch.u.1.|multiSwitch.u.2.",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1") Notification: Performance of loadModel(Modelica): time 2.046/2.046, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.303e-05/3.312e-05, allocations: 4 kB / 258.8 MB, free: 8.074 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2987, allocations: 44.5 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.002642/0.3014, allocations: 1.484 MB / 304.8 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.3029, allocations: 0.5576 MB / 305.3 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.3032, allocations: 9.156 kB / 305.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.3033, allocations: 16.89 kB / 305.4 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.3035, allocations: 30.88 kB / 305.4 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.3037, allocations: 46.11 kB / 305.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.3039, allocations: 83.41 kB / 305.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.3041, allocations: 37.41 kB / 305.6 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.3043, allocations: 47.48 kB / 305.6 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.3045, allocations: 64.44 kB / 305.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.711e-05/0.3046, allocations: 7.562 kB / 305.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.3046, allocations: 9 kB / 305.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.488e-05/0.3047, allocations: 33.5 kB / 305.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.3048, allocations: 10.41 kB / 305.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.305, allocations: 111 kB / 305.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.305, allocations: 0 / 305.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.305, allocations: 1.125 kB / 305.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.3051, allocations: 0 / 305.8 MB, free: 10.95 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001067/0.3061, allocations: 480.4 kB / 306.3 MB, free: 10.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.3062, allocations: 9.344 kB / 306.3 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.373e-05/0.3063, allocations: 19.22 kB / 306.3 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.3067, allocations: 233.4 kB / 306.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/0.3067, allocations: 15.12 kB / 306.6 MB, free: 10.24 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.09e-05/0.3068, allocations: 16.09 kB / 306.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005407/0.3073, allocations: 198.9 kB / 306.8 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.3074, allocations: 3.984 kB / 306.8 MB, free: 10.01 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.3074, allocations: 12 kB / 306.8 MB, free: 10 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/0.3074, allocations: 4 kB / 306.8 MB, free: 9.996 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005209/0.308, allocations: 155.8 kB / 307 MB, free: 9.844 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.3097, allocations: 0.7818 MB / 307.7 MB, free: 9 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00052/0.3102, allocations: 169 kB / 307.9 MB, free: 8.816 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.867e-05/0.3103, allocations: 8.141 kB / 307.9 MB, free: 8.809 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003963/0.3107, allocations: 149.3 kB / 308.1 MB, free: 8.645 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 2.825e-06/0.3107, allocations: 0 / 308.1 MB, free: 8.645 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009495/0.3117, allocations: 281.2 kB / 308.3 MB, free: 8.363 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.3118, allocations: 77.11 kB / 308.4 MB, free: 8.27 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.312, allocations: 179.3 kB / 308.6 MB, free: 8.09 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.3121, allocations: 33.7 kB / 308.6 MB, free: 8.051 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.3122, allocations: 140.1 kB / 308.8 MB, free: 7.91 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.258e-05/0.3123, allocations: 43.45 kB / 308.8 MB, free: 7.867 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/0.3124, allocations: 4 kB / 308.8 MB, free: 7.863 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.3125, allocations: 330.8 kB / 309.1 MB, free: 7.531 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.3128, allocations: 71.95 kB / 309.2 MB, free: 7.461 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/0.3131, allocations: 136.1 kB / 309.3 MB, free: 7.305 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.3134, allocations: 91.88 kB / 309.4 MB, free: 7.215 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.3134, allocations: 4 kB / 309.4 MB, free: 7.211 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000738/0.3142, allocations: 245.2 kB / 309.7 MB, free: 6.965 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.3142, allocations: 4 kB / 309.7 MB, free: 6.961 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.3142, allocations: 4.094 kB / 309.7 MB, free: 6.957 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.3143, allocations: 12.08 kB / 309.7 MB, free: 6.945 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.3146, allocations: 39.91 kB / 309.7 MB, free: 6.906 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.3146, allocations: 4 kB / 309.7 MB, free: 6.902 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002861/0.3149, allocations: 31.83 kB / 309.8 MB, free: 6.871 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.082e-05/0.315, allocations: 11.98 kB / 309.8 MB, free: 6.859 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.multiSwitch.u[1],$PRE.multiSwitch.u[2],$whenCondition2,$whenCondition1,$PRE.booleanPulse1.pulsStart,booleanPulse1.pulsStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,$PRE.booleanPulse2.pulsStart,booleanPulse2.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001888/0.3152, allocations: 141.8 kB / 309.9 MB, free: 6.711 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.3152, allocations: 19.72 kB / 309.9 MB, free: 6.691 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007166/0.3159, allocations: 218.9 kB / 310.1 MB, free: 6.465 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.316, allocations: 4 kB / 310.1 MB, free: 6.461 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.316, allocations: 7.938 kB / 310.2 MB, free: 6.453 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.316, allocations: 4 kB / 310.2 MB, free: 6.449 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003951/0.3164, allocations: 265.5 kB / 310.4 MB, free: 6.141 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.3164, allocations: 112 / 310.4 MB, free: 6.141 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.3166, allocations: 27.92 kB / 310.4 MB, free: 6.113 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/0.3167, allocations: 4 kB / 310.5 MB, free: 6.109 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.3167, allocations: 3.984 kB / 310.5 MB, free: 6.105 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3167, allocations: 0 / 310.5 MB, free: 6.105 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.3167, allocations: 4 kB / 310.5 MB, free: 6.102 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006409/0.3174, allocations: 256 kB / 310.7 MB, free: 5.824 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/0.3175, allocations: 88.92 kB / 310.8 MB, free: 5.719 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.3175, allocations: 0 / 310.8 MB, free: 5.719 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.3178, allocations: 31.97 kB / 310.8 MB, free: 5.688 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.168e-05/0.3179, allocations: 19.94 kB / 310.8 MB, free: 5.668 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.3179, allocations: 11.98 kB / 310.9 MB, free: 5.656 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001726/0.3181, allocations: 139.4 kB / 311 MB, free: 5.52 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3181, allocations: 0 / 311 MB, free: 5.52 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000354/0.3184, allocations: 43.84 kB / 311 MB, free: 5.477 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanPulse1.pulsStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,booleanPulse2.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001812/0.3186, allocations: 114.9 kB / 311.1 MB, free: 5.355 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000623/0.3193, allocations: 177.2 kB / 311.3 MB, free: 5.184 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3193, allocations: 0 / 311.3 MB, free: 5.184 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002974/0.3196, allocations: 88.58 kB / 311.4 MB, free: 5.098 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.32, allocations: 36.31 kB / 311.4 MB, free: 5.062 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009686/0.321, allocations: 422.1 kB / 311.9 MB, free: 4.625 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.3214, allocations: 0.736 MB / 312.6 MB, free: 3.859 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002118/0.3216, allocations: 33.52 kB / 312.6 MB, free: 3.824 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.321e-05/0.3217, allocations: 27.44 kB / 312.7 MB, free: 3.797 MB / 250.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3217, allocations: 0 / 312.7 MB, free: 3.797 MB / 250.7 MB Notification: Performance of Templates: time 0.007365/0.3291, allocations: 1.827 MB / 314.5 MB, free: 1.984 MB / 250.7 MB