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.1_Modelica.Blocks.Examples.RealNetwork1") Notification: Performance of loadModel(Modelica): time 1.492/1.492, allocations: 171.2 MB / 185.7 MB, free: 1.387 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.572e-05/2.568e-05, allocations: 4 kB / 228.1 MB, free: 7.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07579/0.07583, allocations: 38.77 MB / 266.9 MB, free: 492 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.002379/0.07827, allocations: 1.486 MB / 268.4 MB, free: 14.97 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.07951, allocations: 0.5462 MB / 268.9 MB, free: 14.42 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.07963, allocations: 11.94 kB / 269 MB, free: 14.41 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.108e-05/0.07974, allocations: 11.86 kB / 269 MB, free: 14.4 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.07991, allocations: 39.88 kB / 269 MB, free: 14.36 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.08014, allocations: 39.94 kB / 269 MB, free: 14.32 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.08034, allocations: 83.72 kB / 269.1 MB, free: 14.24 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.0805, allocations: 39.95 kB / 269.2 MB, free: 14.2 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.08063, allocations: 47.86 kB / 269.2 MB, free: 14.15 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.08079, allocations: 63.73 kB / 269.3 MB, free: 14.09 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.984e-05/0.08088, allocations: 8 kB / 269.3 MB, free: 14.08 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.08092, allocations: 4 kB / 269.3 MB, free: 14.08 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.22e-05/0.081, allocations: 31.84 kB / 269.3 MB, free: 14.05 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.16e-05/0.08105, allocations: 12 kB / 269.3 MB, free: 14.04 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.08128, allocations: 116 kB / 269.4 MB, free: 13.92 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.08129, allocations: 0 / 269.4 MB, free: 13.92 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.08131, allocations: 0 / 269.4 MB, free: 13.92 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.08133, allocations: 0 / 269.4 MB, free: 13.92 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009614/0.08229, allocations: 475.1 kB / 269.9 MB, free: 13.41 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.08235, allocations: 12.02 kB / 269.9 MB, free: 13.39 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.428e-05/0.08243, allocations: 27.72 kB / 269.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.08275, allocations: 226.4 kB / 270.2 MB, free: 13.11 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.08279, allocations: 16.23 kB / 270.2 MB, free: 13.09 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.08284, allocations: 16 kB / 270.2 MB, free: 13.07 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005081/0.08336, allocations: 202.8 kB / 270.4 MB, free: 12.86 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.08339, allocations: 0 / 270.4 MB, free: 12.86 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.08342, allocations: 8 kB / 270.4 MB, free: 12.85 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.08346, allocations: 8 kB / 270.4 MB, free: 12.84 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005123/0.08399, allocations: 151.8 kB / 270.6 MB, free: 12.7 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.08554, allocations: 0.7975 MB / 271.4 MB, free: 11.84 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.08605, allocations: 169.1 kB / 271.5 MB, free: 11.65 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.886e-05/0.08612, allocations: 4 kB / 271.5 MB, free: 11.65 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000367/0.08649, allocations: 145.1 kB / 271.7 MB, free: 11.49 MB / 234.7 MB Notification: Performance of pre-optimization done (n=15): time 2.455e-06/0.08651, allocations: 0 / 271.7 MB, free: 11.49 MB / 234.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008939/0.08742, allocations: 269.5 kB / 271.9 MB, free: 11.22 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.08749, allocations: 81.11 kB / 272 MB, free: 11.12 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.08773, allocations: 190.1 kB / 272.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.08778, allocations: 33.69 kB / 272.2 MB, free: 10.89 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.08792, allocations: 136.2 kB / 272.4 MB, free: 10.75 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.004e-05/0.08799, allocations: 59.22 kB / 272.4 MB, free: 10.7 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.524e-05/0.08802, allocations: 4 kB / 272.4 MB, free: 10.69 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.08816, allocations: 334.8 kB / 272.7 MB, free: 10.36 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.08842, allocations: 75.81 kB / 272.8 MB, free: 10.28 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002941/0.08873, allocations: 126.8 kB / 272.9 MB, free: 10.13 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.08903, allocations: 88.53 kB / 273 MB, free: 10.05 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.08905, allocations: 4 kB / 273 MB, free: 10.04 MB / 234.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006978/0.08976, allocations: 241.4 kB / 273.3 MB, free: 9.801 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.08979, allocations: 9.906 kB / 273.3 MB, free: 9.793 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.08981, allocations: 4.078 kB / 273.3 MB, free: 9.789 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.08984, allocations: 4 kB / 273.3 MB, free: 9.785 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.09013, allocations: 31.92 kB / 273.3 MB, free: 9.754 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.09016, allocations: 11.97 kB / 273.3 MB, free: 9.742 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.09044, allocations: 35.83 kB / 273.4 MB, free: 9.707 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.09048, allocations: 15.95 kB / 273.4 MB, free: 9.691 MB / 234.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.0001639/0.09066, allocations: 145.8 kB / 273.5 MB, free: 9.539 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.09071, allocations: 15.92 kB / 273.5 MB, free: 9.523 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006786/0.0914, allocations: 222.8 kB / 273.8 MB, free: 9.297 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.09142, allocations: 8 kB / 273.8 MB, free: 9.289 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.09144, allocations: 4 kB / 273.8 MB, free: 9.285 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.09145, allocations: 0 / 273.8 MB, free: 9.285 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003535/0.09181, allocations: 273.4 kB / 274 MB, free: 8.969 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.09183, allocations: 4 kB / 274 MB, free: 8.965 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.09204, allocations: 19.98 kB / 274.1 MB, free: 8.945 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.09206, allocations: 0 / 274.1 MB, free: 8.945 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.09209, allocations: 8 kB / 274.1 MB, free: 8.938 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.0921, allocations: 3.938 kB / 274.1 MB, free: 8.934 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.09212, allocations: 4 kB / 274.1 MB, free: 8.93 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006144/0.09274, allocations: 239.3 kB / 274.3 MB, free: 8.668 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.09287, allocations: 108.8 kB / 274.4 MB, free: 8.543 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.09293, allocations: 12.09 kB / 274.4 MB, free: 8.531 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.09318, allocations: 23.92 kB / 274.4 MB, free: 8.508 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.538e-05/0.09329, allocations: 15.97 kB / 274.5 MB, free: 8.492 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.09332, allocations: 4 kB / 274.5 MB, free: 8.488 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001735/0.0935, allocations: 152.6 kB / 274.6 MB, free: 8.34 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.417e-06/0.09352, allocations: 0 / 274.6 MB, free: 8.34 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003299/0.09386, allocations: 43.89 kB / 274.7 MB, free: 8.297 MB / 234.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.0001605/0.09403, allocations: 99.25 kB / 274.8 MB, free: 8.191 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0006132/0.09465, allocations: 180.1 kB / 274.9 MB, free: 8.016 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.09467, allocations: 4.062 kB / 274.9 MB, free: 8.012 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002902/0.09497, allocations: 83.89 kB / 275 MB, free: 7.93 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.09539, allocations: 48.03 kB / 275.1 MB, free: 7.883 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009179/0.09632, allocations: 442.7 kB / 275.5 MB, free: 7.422 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.09667, allocations: 0.736 MB / 276.2 MB, free: 6.66 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0001933/0.09687, allocations: 37.52 kB / 276.3 MB, free: 6.625 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.016e-05/0.09695, allocations: 19.44 kB / 276.3 MB, free: 6.605 MB / 234.7 MB Notification: Performance of SimCode: time 6.31e-07/0.09696, allocations: 0 / 276.3 MB, free: 6.605 MB / 234.7 MB Notification: Performance of Templates: time 0.006817/0.1038, allocations: 1.809 MB / 278.1 MB, free: 4.812 MB / 234.7 MB