Running command: translateModel(Modelica.StateGraph.Examples.ExecutionPaths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire|transition3.enableFire|transition4.enableFire|transition4a.enableFire|transition5.enableFire|transition6.enableFire|transition6a.enableFire|transition7.enableFire",fileNamePrefix="Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadModel(Modelica): time 1.891/1.891, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.478e-05/3.495e-05, allocations: 4 kB / 269.3 MB, free: 6.41 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08573/0.08579, allocations: 47.58 MB / 316.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3684/0.4542, allocations: 76.35 MB / 393.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/0.4545, allocations: 67.03 kB / 393.3 MB, free: 11.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04427/0.4988, allocations: 11.57 MB / 404.9 MB, free: 1.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.589e-06/0.4988, allocations: 0 / 404.9 MB, free: 1.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.234e-05/0.4989, allocations: 27.94 kB / 404.9 MB, free: 1.742 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.001899/0.5008, allocations: 0.8948 MB / 405.8 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.5008, allocations: 8.031 kB / 405.8 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002872/0.5011, allocations: 94.95 kB / 405.9 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009088/0.5021, allocations: 443.1 kB / 406.4 MB, free: 332 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.5022, allocations: 85.56 kB / 406.4 MB, free: 284 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/0.5024, allocations: 112.8 kB / 406.6 MB, free: 208 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002071/0.5045, allocations: 0.9223 MB / 407.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.5045, allocations: 0 / 407.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.5047, allocations: 36.25 kB / 407.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/0.5047, allocations: 24 kB / 407.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.5064, allocations: 0.6735 MB / 408.2 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004527/0.511, allocations: 2.392 MB / 410.6 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.5123, allocations: 0.6413 MB / 411.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006343/0.5129, allocations: 330.8 kB / 411.6 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.094e-05/0.513, allocations: 19.64 kB / 411.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008529/0.5139, allocations: 414.7 kB / 412 MB, free: 12.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 4.676e-06/0.5139, allocations: 0 / 412 MB, free: 12.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=99): time 0.001434/0.5154, allocations: 0.5961 MB / 412.6 MB, free: 11.69 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.889e-05/0.5155, allocations: 100.3 kB / 412.7 MB, free: 11.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000452/0.5159, allocations: 295.6 kB / 413 MB, free: 11.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001418/0.5161, allocations: 72.94 kB / 413 MB, free: 11.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002912/0.5164, allocations: 307.7 kB / 413.3 MB, free: 11.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.5167, allocations: 236.9 kB / 413.6 MB, free: 10.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-05/0.5168, allocations: 25.25 kB / 413.6 MB, free: 10.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.517, allocations: 367.5 kB / 414 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006371/0.5176, allocations: 260 kB / 414.2 MB, free: 10.33 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008109/0.5185, allocations: 460.7 kB / 414.7 MB, free: 9.906 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006525/0.5191, allocations: 273.1 kB / 414.9 MB, free: 9.715 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.039e-06/0.5192, allocations: 0 / 414.9 MB, free: 9.715 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001835/0.521, allocations: 0.8346 MB / 415.8 MB, free: 9.059 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.5211, allocations: 8 kB / 415.8 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.5211, allocations: 4.75 kB / 415.8 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.448e-05/0.5211, allocations: 12 kB / 415.8 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005348/0.5217, allocations: 117.4 kB / 415.9 MB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-05/0.5217, allocations: 15.94 kB / 415.9 MB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004621/0.5222, allocations: 68.91 kB / 416 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.5223, allocations: 49.8 kB / 416 MB, free: 8.828 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 124 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.transition6.enableFire,$PRE.transition7.enableFire,$PRE.transition4a.enableFire,$PRE.transition6a.enableFire,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.step0.localActive,step0.localActive,$PRE.step0.newActive,step0.newActive,$PRE.step0.oldActive,step0.oldActive,step0.active,transition1.enableFire,transition1.fire,$PRE.transition1.t_start,transition1.t_start,$PRE.step1.localActive,step1.localActive,$PRE.step1.newActive,step1.newActive,$PRE.step1.oldActive,step1.oldActive,step1.active,transition2.enableFire,transition2.fire,$PRE.transition2.t_start,transition2.t_start,$PRE.step6.localActive,step6.localActive,$PRE.step6.newActive,step6.newActive,$PRE.step6.oldActive,step6.oldActive,step6.active,$PRE.step2.localActive,step2.localActive,step2.outPort[1].reset,$PRE.step2.newActive,step2.newActive,$PRE.step2.oldActive,step2.oldActive,step2.active,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,transition4.fire,$PRE.transition4.t_start,transition4.t_start,$PRE.step3.localActive,step3.localActive,$PRE.step3.newActive,step3.newActive,$PRE.step3.oldActive,step3.oldActive,step3.active,$PRE.step4.localActive,step4.localActive,$PRE.step4.newActive,step4.newActive,$PRE.step4.oldActive,step4.oldActive,step4.active,transition5.enableFire,transition5.fire,$PRE.transition5.t_start,transition5.t_start,transition6.enableFire,transition6.fire,$PRE.transition6.t_start,transition6.t_start,$PRE.step5.localActive,step5.localActive,step5.inPort[1].set,$PRE.step5.newActive,step5.newActive,$PRE.step5.oldActive,step5.oldActive,step5.active,transition7.enableFire,setCondition.y,transition4a.enableFire,transition4a.fire,$PRE.transition4a.t_start,transition4a.t_start,$PRE.step4a.localActive,step4a.localActive,$PRE.step4a.newActive,step4a.newActive,$PRE.step4a.oldActive,step4a.oldActive,step4a.active,transition6a.enableFire,transition6a.fire,$PRE.transition6a.t_start,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,Parallel1.inPort.occupied,Parallel1.outPort.available,stateGraphRoot.activeSteps,stateGraphRoot.resume,stateGraphRoot.suspend,transition6a.condition,transition4a.condition,transition6.condition,transition5.condition,transition4.condition,transition3.condition,transition2.condition,transition1.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * 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.0003004/0.5226, allocations: 213.6 kB / 416.2 MB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.5228, allocations: 55.38 kB / 416.3 MB, free: 8.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/0.5244, allocations: 0.7281 MB / 417 MB, free: 8.059 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.5245, allocations: 8 kB / 417 MB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.938e-06/0.5245, allocations: 4 kB / 417 MB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/0.5245, allocations: 7.984 kB / 417.1 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003559/0.5281, allocations: 1.662 MB / 418.7 MB, free: 6.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.224e-06/0.5281, allocations: 0 / 418.7 MB, free: 6.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.5285, allocations: 67.52 kB / 418.8 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.681e-05/0.5285, allocations: 12 kB / 418.8 MB, free: 6.629 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-05/0.5286, allocations: 28.88 kB / 418.8 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.855e-06/0.5286, allocations: 4 kB / 418.8 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-06/0.5287, allocations: 0 / 418.8 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.5301, allocations: 0.7806 MB / 419.6 MB, free: 5.965 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.5303, allocations: 128.3 kB / 419.7 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.665e-05/0.5304, allocations: 34.12 kB / 419.8 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003297/0.5308, allocations: 34.67 kB / 419.8 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/0.531, allocations: 105.4 kB / 419.9 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.24e-05/0.5312, allocations: 35.3 kB / 419.9 MB, free: 5.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001875/0.5314, allocations: 146.9 kB / 420.1 MB, free: 5.535 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.13e-07/0.5314, allocations: 4 kB / 420.1 MB, free: 5.531 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008031/0.5322, allocations: 165.8 kB / 420.2 MB, free: 5.402 MB / 330.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: 84 (transition4a.enableFire,transition4.enableFire,transition6a.enableFire,step4a.localActive,transition2.enableFire,step5.localActive,transition5.enableFire,transition6.enableFire,step4.localActive,step3.localActive,transition3.enableFire,transition1.enableFire,step2.localActive,step6.localActive,step1.localActive,step0.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,step0.newActive,step0.oldActive,step0.active,transition1.fire,transition1.t_start,step1.newActive,step1.oldActive,step1.active,transition2.fire,transition2.t_start,step6.newActive,step6.oldActive,step6.active,step2.outPort[1].reset,step2.newActive,step2.oldActive,step2.active,transition3.fire,transition3.t_start,transition4.fire,transition4.t_start,step3.newActive,step3.oldActive,step3.active,step4.newActive,step4.oldActive,step4.active,transition5.fire,transition5.t_start,transition6.fire,transition6.t_start,step5.inPort[1].set,step5.newActive,step5.oldActive,step5.active,transition7.enableFire,setCondition.y,transition4a.fire,transition4a.t_start,step4a.newActive,step4a.oldActive,step4a.active,transition6a.fire,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,Parallel1.inPort.occupied,Parallel1.outPort.available,stateGraphRoot.activeSteps) * Number of discrete states: 8 (step0.newActive,step1.newActive,step6.newActive,step2.newActive,step3.newActive,step4.newActive,step5.newActive,step4a.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.0003033/0.5325, allocations: 173.3 kB / 420.4 MB, free: 5.242 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001567/0.5341, allocations: 0.6999 MB / 421.1 MB, free: 4.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.158e-06/0.5341, allocations: 8.312 kB / 421.1 MB, free: 4.723 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007463/0.5349, allocations: 370.1 kB / 421.5 MB, free: 4.453 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005305/0.5354, allocations: 66.72 kB / 421.5 MB, free: 4.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.5376, allocations: 0.9128 MB / 422.5 MB, free: 3.621 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007685/0.5384, allocations: 0.9655 MB / 423.4 MB, free: 2.637 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005471/0.539, allocations: 105.9 kB / 423.5 MB, free: 2.531 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/0.5393, allocations: 66.73 kB / 423.6 MB, free: 2.469 MB / 330.7 MB Notification: Performance of SimCode: time 1.802e-06/0.5393, allocations: 0 / 423.6 MB, free: 2.469 MB / 330.7 MB Notification: Performance of Templates: time 0.02105/0.5604, allocations: 6.609 MB / 430.2 MB, free: 11.88 MB / 346.7 MB