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.1_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadModel(Modelica): time 1.867/1.867, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.456e-05/4.485e-05, allocations: 3.984 kB / 225 MB, free: 2.348 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2151, allocations: 38.77 MB / 263.8 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1015/0.3167, allocations: 66.68 MB / 330.5 MB, free: 7.039 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.3169, allocations: 67.95 kB / 330.5 MB, free: 6.973 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04417/0.3611, allocations: 11.41 MB / 341.9 MB, free: 11.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.09e-06/0.3612, allocations: 0 / 341.9 MB, free: 11.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.907e-05/0.3613, allocations: 23.94 kB / 342 MB, free: 11.46 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.001828/0.3631, allocations: 0.8847 MB / 342.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3632, allocations: 8.031 kB / 342.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002331/0.3634, allocations: 94.95 kB / 342.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00084/0.3643, allocations: 425.9 kB / 343.4 MB, free: 9.934 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.3644, allocations: 89.98 kB / 343.5 MB, free: 9.848 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/0.3646, allocations: 104 kB / 343.6 MB, free: 9.746 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002255/0.3669, allocations: 0.9026 MB / 344.5 MB, free: 8.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/0.3669, allocations: 0 / 344.5 MB, free: 8.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.367, allocations: 39.98 kB / 344.5 MB, free: 8.781 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.621e-05/0.3671, allocations: 20 kB / 344.5 MB, free: 8.762 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/0.3688, allocations: 0.6911 MB / 345.2 MB, free: 8.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004605/0.3735, allocations: 2.345 MB / 347.6 MB, free: 5.648 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.3749, allocations: 0.639 MB / 348.2 MB, free: 4.988 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006977/0.3756, allocations: 335.7 kB / 348.5 MB, free: 4.652 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-05/0.3757, allocations: 18.09 kB / 348.5 MB, free: 4.637 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009038/0.3766, allocations: 427 kB / 349 MB, free: 4.203 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 4.597e-06/0.3767, allocations: 0 / 349 MB, free: 4.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=99): time 0.001477/0.3782, allocations: 0.5817 MB / 349.5 MB, free: 3.613 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.3783, allocations: 101.9 kB / 349.6 MB, free: 3.496 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004482/0.3787, allocations: 300.1 kB / 349.9 MB, free: 3.195 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001301/0.3789, allocations: 65.7 kB / 350 MB, free: 3.125 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/0.3792, allocations: 301.1 kB / 350.3 MB, free: 2.824 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002915/0.3795, allocations: 244.8 kB / 350.5 MB, free: 2.582 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.19e-05/0.3796, allocations: 28.03 kB / 350.6 MB, free: 2.555 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000223/0.3798, allocations: 362.8 kB / 350.9 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006624/0.3805, allocations: 258.5 kB / 351.2 MB, free: 1.938 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008561/0.3814, allocations: 457.2 kB / 351.6 MB, free: 1.418 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006927/0.3821, allocations: 272.8 kB / 351.9 MB, free: 1.152 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.191e-06/0.3821, allocations: 0 / 351.9 MB, free: 1.152 MB / 298.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001945/0.384, allocations: 0.8325 MB / 352.7 MB, free: 320 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.3841, allocations: 12.09 kB / 352.7 MB, free: 308 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.3841, allocations: 4 kB / 352.7 MB, free: 304 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.441e-05/0.3842, allocations: 12 kB / 352.7 MB, free: 292 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005365/0.3847, allocations: 111.7 kB / 352.8 MB, free: 180 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.395e-05/0.3848, allocations: 19.92 kB / 352.9 MB, free: 160 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004689/0.3852, allocations: 63.73 kB / 352.9 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.3854, allocations: 51.94 kB / 353 MB, free: 44 kB / 298.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.0003282/0.3857, allocations: 218.7 kB / 353.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.3859, allocations: 47.44 kB / 353.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/0.3876, allocations: 0.7415 MB / 354 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.3876, allocations: 8 kB / 354 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.165e-06/0.3877, allocations: 4 kB / 354 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.3877, allocations: 3.984 kB / 354 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003717/0.3914, allocations: 1.647 MB / 355.6 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.567e-06/0.3915, allocations: 4 kB / 355.6 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003731/0.3919, allocations: 67.78 kB / 355.7 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.745e-05/0.3919, allocations: 7.984 kB / 355.7 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-05/0.392, allocations: 24 kB / 355.7 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.31e-05/0.392, allocations: 7.984 kB / 355.7 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.336e-06/0.392, allocations: 0 / 355.7 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.3936, allocations: 0.7834 MB / 356.5 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.3937, allocations: 124.4 kB / 356.7 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.3938, allocations: 24 kB / 356.7 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003468/0.3942, allocations: 39.97 kB / 356.7 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000281/0.3945, allocations: 104.8 kB / 356.8 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.919e-05/0.3946, allocations: 35.98 kB / 356.9 MB, free: 12.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002037/0.3948, allocations: 145.4 kB / 357 MB, free: 11.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.05e-07/0.3949, allocations: 7.938 kB / 357 MB, free: 11.9 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009203/0.3958, allocations: 167.9 kB / 357.2 MB, free: 11.74 MB / 314.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.0003327/0.3961, allocations: 171 kB / 357.3 MB, free: 11.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.3978, allocations: 0.7087 MB / 358 MB, free: 10.85 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.825e-06/0.3979, allocations: 0 / 358 MB, free: 10.85 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008412/0.3987, allocations: 363.7 kB / 358.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005972/0.3994, allocations: 74.66 kB / 358.5 MB, free: 10.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.4017, allocations: 0.9105 MB / 359.4 MB, free: 9.484 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007867/0.4025, allocations: 0.9625 MB / 360.3 MB, free: 8.492 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005565/0.4031, allocations: 101.9 kB / 360.4 MB, free: 8.391 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.4034, allocations: 75.41 kB / 360.5 MB, free: 8.316 MB / 314.7 MB Notification: Performance of SimCode: time 1.82e-06/0.4034, allocations: 0 / 360.5 MB, free: 8.316 MB / 314.7 MB Notification: Performance of Templates: time 0.02097/0.4244, allocations: 6.593 MB / 367.1 MB, free: 1.754 MB / 314.7 MB