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.2_cpp_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadModel(Modelica): time 1.843/1.843, allocations: 194.9 MB / 208.4 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.621e-05/2.649e-05, allocations: 6.609 kB / 255.3 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0768/0.07685, allocations: 44.5 MB / 299.8 MB, free: 6.637 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3518/0.4287, allocations: 71.98 MB / 371.8 MB, free: 21.72 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/0.4291, allocations: 68.33 kB / 371.9 MB, free: 21.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03974/0.4688, allocations: 11.42 MB / 383.3 MB, free: 20.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.191e-06/0.4689, allocations: 0 / 383.3 MB, free: 20.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.838e-05/0.469, allocations: 22.56 kB / 383.3 MB, free: 20.67 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: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.001479/0.4704, allocations: 0.8837 MB / 384.2 MB, free: 20.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4705, allocations: 13.12 kB / 384.2 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.4707, allocations: 93.02 kB / 384.3 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006889/0.4714, allocations: 431 kB / 384.7 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.4715, allocations: 88.36 kB / 384.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.4717, allocations: 105.2 kB / 384.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/0.4739, allocations: 0.9061 MB / 385.8 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.384e-05/0.474, allocations: 1.25 kB / 385.8 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001679/0.4742, allocations: 36.67 kB / 385.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.86e-05/0.4743, allocations: 23.12 kB / 385.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002264/0.4765, allocations: 0.7066 MB / 386.6 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003792/0.4804, allocations: 2.345 MB / 388.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.4815, allocations: 0.6497 MB / 389.6 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005525/0.4821, allocations: 330.5 kB / 389.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.047e-05/0.4822, allocations: 20.03 kB / 389.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007001/0.4829, allocations: 428.9 kB / 390.3 MB, free: 18.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=99): time 5.598e-06/0.4829, allocations: 0 / 390.3 MB, free: 18.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=99): time 0.001205/0.4842, allocations: 0.5914 MB / 390.9 MB, free: 18.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.4842, allocations: 107.6 kB / 391 MB, free: 18.45 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.4845, allocations: 286.9 kB / 391.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.4847, allocations: 72.88 kB / 391.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.4848, allocations: 352.6 kB / 391.7 MB, free: 18.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/0.4851, allocations: 247.9 kB / 392 MB, free: 17.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/0.4851, allocations: 21.88 kB / 392 MB, free: 17.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.97e-05/0.4852, allocations: 363.4 kB / 392.3 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005474/0.4858, allocations: 248.9 kB / 392.6 MB, free: 17.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000651/0.4864, allocations: 466.7 kB / 393 MB, free: 17.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005539/0.487, allocations: 270 kB / 393.3 MB, free: 17.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.44e-06/0.487, allocations: 3.938 kB / 393.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001524/0.4886, allocations: 0.8407 MB / 394.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.4886, allocations: 3.906 kB / 394.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.4886, allocations: 11.77 kB / 394.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.857e-05/0.4887, allocations: 11.72 kB / 394.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005613/0.4893, allocations: 116 kB / 394.3 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.358e-05/0.4893, allocations: 19.59 kB / 394.3 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004294/0.4897, allocations: 64.47 kB / 394.4 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-05/0.4899, allocations: 54.7 kB / 394.4 MB, free: 17.19 MB / 314.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.000224/0.4901, allocations: 210.2 kB / 394.6 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.824e-05/0.4902, allocations: 50.48 kB / 394.7 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.4916, allocations: 0.7341 MB / 395.4 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.4917, allocations: 15.55 kB / 395.4 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.447e-06/0.4917, allocations: 0 / 395.4 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.4917, allocations: 7.406 kB / 395.4 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/0.4946, allocations: 1.647 MB / 397.1 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-06/0.4947, allocations: 0 / 397.1 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003211/0.495, allocations: 73.58 kB / 397.2 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.198e-05/0.495, allocations: 3.969 kB / 397.2 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.645e-05/0.4951, allocations: 25.56 kB / 397.2 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.049e-06/0.4951, allocations: 7.875 kB / 397.2 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.019e-06/0.4951, allocations: 3.953 kB / 397.2 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.4963, allocations: 0.7743 MB / 398 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.468e-05/0.4964, allocations: 128 kB / 398.1 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.698e-05/0.4965, allocations: 26.33 kB / 398.1 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000304/0.4968, allocations: 45.73 kB / 398.2 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002263/0.4971, allocations: 106.6 kB / 398.3 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.511e-05/0.4972, allocations: 33.59 kB / 398.3 MB, free: 16.19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001316/0.4973, allocations: 155.9 kB / 398.5 MB, free: 16.11 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.624e-06/0.4973, allocations: 0 / 398.5 MB, free: 16.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007529/0.4981, allocations: 165.2 kB / 398.6 MB, free: 16.1 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.0002258/0.4983, allocations: 172.9 kB / 398.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.4996, allocations: 0.7214 MB / 399.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.574e-06/0.4996, allocations: 0 / 399.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005902/0.5002, allocations: 367.6 kB / 399.9 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.5007, allocations: 80.05 kB / 399.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.5024, allocations: 0.9189 MB / 400.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.5029, allocations: 0.9464 MB / 401.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/0.5031, allocations: 76.34 kB / 401.9 MB, free: 14.87 MB / 314.7 MB Notification: Performance of SimCode: time 1.685e-06/0.5032, allocations: 0 / 401.9 MB, free: 14.87 MB / 314.7 MB Notification: Performance of Templates: time 0.0126/0.5158, allocations: 8.674 MB / 410.6 MB, free: 12.94 MB / 314.7 MB