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 2.226/2.226, allocations: 194.9 MB / 211.2 MB, free: 7.855 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.076e-05/3.074e-05, allocations: 11.89 kB / 258.8 MB, free: 8.227 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3228, allocations: 44.5 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ExecutionPaths): time 0.003711/0.3266, allocations: 2.132 MB / 305.4 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002486/0.3291, allocations: 0.7852 MB / 306.2 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000529/0.3297, allocations: 30.62 kB / 306.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.33, allocations: 81.69 kB / 306.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.3303, allocations: 49.03 kB / 306.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.3318, allocations: 340.1 kB / 306.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001444/0.3332, allocations: 0.5428 MB / 307.2 MB, free: 9.602 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/0.3344, allocations: 0.5296 MB / 307.8 MB, free: 9.113 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004043/0.3348, allocations: 243.4 kB / 308 MB, free: 8.875 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004675/0.3353, allocations: 290.9 kB / 308.3 MB, free: 8.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002388/0.3356, allocations: 51.98 kB / 308.3 MB, free: 8.539 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.3357, allocations: 40 kB / 308.4 MB, free: 8.5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.336, allocations: 171.5 kB / 308.5 MB, free: 8.332 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.3361, allocations: 48 kB / 308.6 MB, free: 8.285 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.3373, allocations: 0.6604 MB / 309.2 MB, free: 7.625 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.3374, allocations: 0 / 309.2 MB, free: 7.625 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.3374, allocations: 3.938 kB / 309.3 MB, free: 7.621 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.995e-05/0.3374, allocations: 0 / 309.3 MB, free: 7.621 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: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.00207/0.3395, allocations: 0.8742 MB / 310.1 MB, free: 6.684 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.3395, allocations: 12.03 kB / 310.1 MB, free: 6.672 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002391/0.3398, allocations: 94.89 kB / 310.2 MB, free: 6.578 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008613/0.3407, allocations: 449.5 kB / 310.7 MB, free: 6.098 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.3408, allocations: 86 kB / 310.8 MB, free: 6.016 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002126/0.341, allocations: 104 kB / 310.9 MB, free: 5.914 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/0.3435, allocations: 0.922 MB / 311.8 MB, free: 4.965 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/0.3436, allocations: 0 / 311.8 MB, free: 4.965 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/0.3437, allocations: 47.92 kB / 311.8 MB, free: 4.918 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/0.3438, allocations: 20 kB / 311.8 MB, free: 4.898 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002106/0.3459, allocations: 0.7299 MB / 312.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005031/0.3509, allocations: 2.411 MB / 315 MB, free: 1.688 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/0.3526, allocations: 0.6532 MB / 315.6 MB, free: 1.016 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.3528, allocations: 22.25 kB / 315.7 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.3538, allocations: 433.7 kB / 316.1 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of pre-optimization done (n=99): time 3.897e-06/0.3538, allocations: 0 / 316.1 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of matching and sorting (n=99): time 0.002384/0.3562, allocations: 0.8359 MB / 316.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.789e-05/0.3563, allocations: 102.1 kB / 317 MB, free: 15.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004364/0.3568, allocations: 291.3 kB / 317.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001338/0.3569, allocations: 73.69 kB / 317.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003041/0.3572, allocations: 351.4 kB / 317.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003005/0.3575, allocations: 252.7 kB / 318 MB, free: 14.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.3576, allocations: 24 kB / 318 MB, free: 14.6 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.3578, allocations: 354.9 kB / 318.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007886/0.3586, allocations: 270.5 kB / 318.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.3596, allocations: 479.7 kB / 319.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007945/0.3605, allocations: 270.4 kB / 319.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.3605, allocations: 4 kB / 319.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002243/0.3627, allocations: 0.8517 MB / 320.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/0.3628, allocations: 8 kB / 320.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/0.3628, allocations: 11.94 kB / 320.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.909e-05/0.3629, allocations: 15.78 kB / 320.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007434/0.3636, allocations: 107.7 kB / 320.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.822e-05/0.3637, allocations: 19.92 kB / 320.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006013/0.3643, allocations: 115.5 kB / 320.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.3644, allocations: 51.98 kB / 320.5 MB, free: 11.99 MB / 266.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,step0.active,$PRE.step0.localActive,step0.localActive,$PRE.step0.newActive,step0.newActive,$PRE.step0.oldActive,step0.oldActive,transition1.enableFire,transition1.fire,transition1.outPort.occupied,$PRE.transition1.t_start,transition1.t_start,step1.active,$PRE.step1.localActive,step1.localActive,$PRE.step1.newActive,step1.newActive,$PRE.step1.oldActive,step1.oldActive,transition2.enableFire,transition2.fire,$PRE.transition2.t_start,transition2.t_start,step6.active,$PRE.step6.localActive,step6.localActive,$PRE.step6.newActive,step6.newActive,$PRE.step6.oldActive,step6.oldActive,step2.active,$PRE.step2.localActive,step2.localActive,step2.outPort[1].reset,$PRE.step2.newActive,step2.newActive,$PRE.step2.oldActive,step2.oldActive,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,transition4.fire,$PRE.transition4.t_start,transition4.t_start,step3.active,$PRE.step3.localActive,step3.localActive,$PRE.step3.newActive,step3.newActive,$PRE.step3.oldActive,step3.oldActive,step4.active,$PRE.step4.localActive,step4.localActive,$PRE.step4.newActive,step4.newActive,$PRE.step4.oldActive,step4.oldActive,transition5.enableFire,transition5.fire,$PRE.transition5.t_start,transition5.t_start,transition6.enableFire,transition6.fire,$PRE.transition6.t_start,transition6.t_start,step5.active,$PRE.step5.localActive,step5.localActive,step5.inPort[1].set,$PRE.step5.newActive,step5.newActive,$PRE.step5.oldActive,step5.oldActive,transition7.condition,transition7.enableFire,transition4a.enableFire,transition4a.fire,$PRE.transition4a.t_start,transition4a.t_start,step4a.active,$PRE.step4a.localActive,step4a.localActive,$PRE.step4a.newActive,step4a.newActive,$PRE.step4a.oldActive,step4a.oldActive,transition6a.enableFire,transition6a.fire,$PRE.transition6a.t_start,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,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.0006004/0.3651, allocations: 299.5 kB / 320.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.3652, allocations: 51.44 kB / 320.9 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/0.3672, allocations: 0.7378 MB / 321.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/0.3673, allocations: 11.95 kB / 321.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.3673, allocations: 4 kB / 321.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.992e-05/0.3673, allocations: 7.969 kB / 321.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004228/0.3716, allocations: 1.683 MB / 323.3 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.3716, allocations: 7.938 kB / 323.3 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005119/0.3722, allocations: 71.83 kB / 323.4 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.351e-05/0.3722, allocations: 4 kB / 323.4 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-05/0.3723, allocations: 23.97 kB / 323.4 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.198e-05/0.3723, allocations: 4 kB / 323.4 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.3723, allocations: 7.953 kB / 323.4 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.3741, allocations: 0.7952 MB / 324.2 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.3742, allocations: 136.2 kB / 324.3 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.3744, allocations: 27.98 kB / 324.4 MB, free: 8.008 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004303/0.3748, allocations: 47.92 kB / 324.4 MB, free: 7.961 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003205/0.3751, allocations: 100.8 kB / 324.5 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-05/0.3752, allocations: 35.98 kB / 324.6 MB, free: 7.824 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002322/0.3755, allocations: 152.5 kB / 324.7 MB, free: 7.676 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3755, allocations: 0 / 324.7 MB, free: 7.676 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008675/0.3764, allocations: 207.4 kB / 324.9 MB, free: 7.473 MB / 266.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.active,step0.newActive,step0.oldActive,transition1.fire,transition1.outPort.occupied,transition1.t_start,step1.active,step1.newActive,step1.oldActive,transition2.fire,transition2.t_start,step6.active,step6.newActive,step6.oldActive,step2.active,step2.outPort[1].reset,step2.newActive,step2.oldActive,transition3.fire,transition3.t_start,transition4.fire,transition4.t_start,step3.active,step3.newActive,step3.oldActive,step4.active,step4.newActive,step4.oldActive,transition5.fire,transition5.t_start,transition6.fire,transition6.t_start,step5.active,step5.inPort[1].set,step5.newActive,step5.oldActive,transition7.condition,transition7.enableFire,transition4a.fire,transition4a.t_start,step4a.active,step4a.newActive,step4a.oldActive,transition6a.fire,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,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.0003218/0.3767, allocations: 171 kB / 325.1 MB, free: 7.297 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001961/0.3787, allocations: 0.7377 MB / 325.8 MB, free: 6.562 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3787, allocations: 0 / 325.8 MB, free: 6.562 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009462/0.3797, allocations: 381.8 kB / 326.2 MB, free: 6.191 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005871/0.3803, allocations: 73.75 kB / 326.3 MB, free: 6.121 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003139/0.3834, allocations: 1.417 MB / 327.7 MB, free: 4.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006758/0.3842, allocations: 0.951 MB / 328.6 MB, free: 3.684 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004262/0.3846, allocations: 71.41 kB / 328.7 MB, free: 3.613 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.3846, allocations: 0 / 328.7 MB, free: 3.613 MB / 266.7 MB Notification: Performance of Templates: time 0.02078/0.4054, allocations: 8.714 MB / 337.4 MB, free: 10.88 MB / 282.7 MB