Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ExecutionPaths,fileNamePrefix="Modelica_3_2_2_cs_Modelica_StateGraph_Examples_ExecutionPaths",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.317/2.317, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.492e-05/2.515e-05, allocations: 3.125 kB / 249.8 MB, free: 5.258 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1044, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5042/0.6086, allocations: 71.32 MB / 365.6 MB, free: 7.223 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.6089, allocations: 66.53 kB / 365.7 MB, free: 7.223 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05077/0.6597, allocations: 11.12 MB / 376.8 MB, free: 21.39 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6598, allocations: 0 / 376.8 MB, free: 21.39 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.745e-05/0.6598, allocations: 27.34 kB / 376.8 MB, free: 21.39 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.002152/0.662, allocations: 0.8876 MB / 377.7 MB, free: 20.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.6621, allocations: 7.75 kB / 377.7 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002659/0.6624, allocations: 93.25 kB / 377.8 MB, free: 20.67 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009444/0.6633, allocations: 434.8 kB / 378.2 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.424e-05/0.6634, allocations: 38.56 kB / 378.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/0.6636, allocations: 69.92 kB / 378.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001928/0.6656, allocations: 0.6465 MB / 379 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/0.6678, allocations: 0.7857 MB / 379.8 MB, free: 20.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.613e-05/0.6678, allocations: 0 / 379.8 MB, free: 20.06 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.668, allocations: 0 / 379.8 MB, free: 20.06 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/0.668, allocations: 23.25 kB / 379.8 MB, free: 20.06 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004804/0.6728, allocations: 2.186 MB / 382 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.6742, allocations: 0.6027 MB / 382.6 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007027/0.6749, allocations: 303.1 kB / 382.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.675, allocations: 20.16 kB / 382.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008983/0.6759, allocations: 399.6 kB / 383.3 MB, free: 18.52 MB / 314.7 MB Notification: Performance of pre-optimization done (n=99): time 4.719e-06/0.676, allocations: 0 / 383.3 MB, free: 18.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=99): time 0.001546/0.6775, allocations: 0.5424 MB / 383.8 MB, free: 18.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.6776, allocations: 100.7 kB / 383.9 MB, free: 18.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004391/0.678, allocations: 280.3 kB / 384.2 MB, free: 18.13 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000143/0.6782, allocations: 55.47 kB / 384.3 MB, free: 18.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.6784, allocations: 291.2 kB / 384.5 MB, free: 17.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/0.6787, allocations: 235.8 kB / 384.8 MB, free: 17.76 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.955e-05/0.6788, allocations: 0 / 384.8 MB, free: 17.76 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.679, allocations: 365.8 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007373/0.6798, allocations: 235 kB / 385.4 MB, free: 17.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008574/0.6806, allocations: 437.5 kB / 385.8 MB, free: 17.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007593/0.6814, allocations: 239.2 kB / 386 MB, free: 17.13 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.6814, allocations: 0 / 386 MB, free: 17.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002146/0.6836, allocations: 0.7467 MB / 386.8 MB, free: 16.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.69e-05/0.6837, allocations: 3.906 kB / 386.8 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.6837, allocations: 7.75 kB / 386.8 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.154e-05/0.6838, allocations: 11.59 kB / 386.8 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008471/0.6846, allocations: 115.9 kB / 386.9 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.128e-05/0.6847, allocations: 19.55 kB / 386.9 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006435/0.6853, allocations: 42.95 kB / 387 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.6855, allocations: 53.8 kB / 387 MB, free: 16.88 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.0003498/0.6858, allocations: 178.9 kB / 387.2 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001547/0.6874, allocations: 0.5383 MB / 387.7 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.6875, allocations: 46.81 kB / 387.8 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/0.6896, allocations: 0.679 MB / 388.4 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.6897, allocations: 7.812 kB / 388.5 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.6897, allocations: 3.906 kB / 388.5 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/0.6897, allocations: 7.969 kB / 388.5 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004292/0.694, allocations: 1.469 MB / 389.9 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.6941, allocations: 3.906 kB / 389.9 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005861/0.6947, allocations: 65.88 kB / 390 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.687e-05/0.6947, allocations: 3.906 kB / 390 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.499e-05/0.6948, allocations: 7.859 kB / 390 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.6948, allocations: 3.875 kB / 390 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.6948, allocations: 3.953 kB / 390 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.6966, allocations: 0.7399 MB / 390.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.6967, allocations: 127.7 kB / 390.9 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.6969, allocations: 3.906 kB / 390.9 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004716/0.6974, allocations: 39.36 kB / 390.9 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003353/0.6977, allocations: 103 kB / 391 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/0.6979, allocations: 30.83 kB / 391.1 MB, free: 15.28 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001879/0.6981, allocations: 142.6 kB / 391.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.12e-07/0.6981, allocations: 0 / 391.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001017/0.6991, allocations: 128.6 kB / 391.3 MB, free: 15.2 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.002383/0.7015, allocations: 1.399 MB / 392.7 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001855/0.7034, allocations: 0.6664 MB / 393.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.7034, allocations: 11.94 kB / 393.4 MB, free: 14.22 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007858/0.7042, allocations: 345.4 kB / 393.7 MB, free: 14.19 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007287/0.705, allocations: 66.58 kB / 393.8 MB, free: 14.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/0.7082, allocations: 0.9563 MB / 394.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007759/0.709, allocations: 0.9625 MB / 395.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007326/0.7097, allocations: 110.5 kB / 395.8 MB, free: 12.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007434/0.7105, allocations: 254.7 kB / 396.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of SimCode: time 1.262e-06/0.7105, allocations: 0 / 396.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09718/0.8077, allocations: 11.61 MB / 407.7 MB, free: 7.285 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003879/0.8082, allocations: 145.3 kB / 407.8 MB, free: 7.086 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.816/4.624, allocations: 4 kB / 407.8 MB, free: 7.082 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.StateGraph.Examples.ExecutionPaths_res.mat does not exist to compare? outputFormat=mat