Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ExecutionPaths,fileNamePrefix="Modelica_3_2_3_Modelica_StateGraph_Examples_ExecutionPaths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.208/2.208, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.408e-05/3.426e-05, allocations: 0 / 269.4 MB, free: 6.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1378, allocations: 47.58 MB / 317 MB, free: 6.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4335/0.5714, allocations: 76.36 MB / 393.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.5718, allocations: 64.91 kB / 393.4 MB, free: 11.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05201/0.6238, allocations: 11.57 MB / 405 MB, free: 1.301 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.6239, allocations: 4 kB / 405 MB, free: 1.297 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.76e-05/0.6239, allocations: 31.92 kB / 405 MB, free: 1.266 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.002781/0.6267, allocations: 0.9015 MB / 405.9 MB, free: 356 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.419e-05/0.6268, allocations: 8.031 kB / 405.9 MB, free: 348 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004811/0.6273, allocations: 152.1 kB / 406.1 MB, free: 248 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003031/0.6276, allocations: 90.97 kB / 406.2 MB, free: 156 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.6287, allocations: 433.4 kB / 406.6 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.6289, allocations: 93.77 kB / 406.7 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002252/0.6292, allocations: 112.7 kB / 406.8 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002764/0.6319, allocations: 0.9189 MB / 407.7 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.576e-05/0.632, allocations: 0 / 407.7 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.6322, allocations: 40.61 kB / 407.8 MB, free: 14.97 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.308e-05/0.6322, allocations: 24 kB / 407.8 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/0.6345, allocations: 0.6736 MB / 408.5 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00595/0.6405, allocations: 2.396 MB / 410.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.6422, allocations: 0.641 MB / 411.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008385/0.6431, allocations: 331.6 kB / 411.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.6433, allocations: 14.11 kB / 411.8 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001015/0.6443, allocations: 415.1 kB / 412.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 4.037e-06/0.6443, allocations: 4 kB / 412.2 MB, free: 11.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=99): time 0.001762/0.6461, allocations: 0.5956 MB / 412.8 MB, free: 11.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.835e-05/0.6462, allocations: 101.4 kB / 412.9 MB, free: 11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004931/0.6467, allocations: 293 kB / 413.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00017/0.6469, allocations: 68.64 kB / 413.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/0.6472, allocations: 306.4 kB / 413.6 MB, free: 10.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000314/0.6476, allocations: 243.3 kB / 413.8 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.714e-05/0.6476, allocations: 21.62 kB / 413.8 MB, free: 10.26 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.6479, allocations: 376.4 kB / 414.2 MB, free: 9.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007598/0.6486, allocations: 251.4 kB / 414.5 MB, free: 9.754 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009694/0.6496, allocations: 464.7 kB / 414.9 MB, free: 9.328 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007879/0.6504, allocations: 265.6 kB / 415.2 MB, free: 9.145 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.265e-05/0.6505, allocations: 4 kB / 415.2 MB, free: 9.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002504/0.653, allocations: 0.8275 MB / 416 MB, free: 8.492 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.354e-05/0.6531, allocations: 8.75 kB / 416 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.6531, allocations: 8 kB / 416 MB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.674e-05/0.6532, allocations: 16 kB / 416 MB, free: 8.461 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008205/0.654, allocations: 111.4 kB / 416.1 MB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.786e-05/0.654, allocations: 19.92 kB / 416.2 MB, free: 8.344 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006141/0.6547, allocations: 61.3 kB / 416.2 MB, free: 8.301 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.6548, allocations: 51.23 kB / 416.3 MB, free: 8.262 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.0003453/0.6552, allocations: 217.9 kB / 416.5 MB, free: 8.074 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.6553, allocations: 51.39 kB / 416.5 MB, free: 8.023 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001957/0.6573, allocations: 0.7363 MB / 417.3 MB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.748e-05/0.6574, allocations: 16 kB / 417.3 MB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.6574, allocations: 7.875 kB / 417.3 MB, free: 7.461 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.792e-05/0.6574, allocations: 3.984 kB / 417.3 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005309/0.6628, allocations: 1.65 MB / 419 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.6628, allocations: 0 / 419 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007004/0.6636, allocations: 75.33 kB / 419 MB, free: 6.062 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.45e-05/0.6636, allocations: 4 kB / 419 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.661e-05/0.6637, allocations: 30 kB / 419.1 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.381e-05/0.6637, allocations: 4 kB / 419.1 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.6638, allocations: 0 / 419.1 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002358/0.6661, allocations: 0.7807 MB / 419.8 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.6664, allocations: 140.3 kB / 420 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.6665, allocations: 19.94 kB / 420 MB, free: 5.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000599/0.6671, allocations: 39.09 kB / 420 MB, free: 5.203 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004212/0.6676, allocations: 102 kB / 420.1 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/0.6677, allocations: 31.3 kB / 420.2 MB, free: 5.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002806/0.668, allocations: 158.5 kB / 420.3 MB, free: 4.957 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.668, allocations: 0 / 420.3 MB, free: 4.957 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00141/0.6695, allocations: 168.3 kB / 420.5 MB, free: 4.824 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.003237/0.6727, allocations: 1.469 MB / 422 MB, free: 3.496 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002848/0.6756, allocations: 0.7024 MB / 422.7 MB, free: 2.977 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.6757, allocations: 5.5 kB / 422.7 MB, free: 2.973 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.6771, allocations: 363.8 kB / 423 MB, free: 2.715 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009655/0.6781, allocations: 76.38 kB / 423.1 MB, free: 2.668 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004555/0.6827, allocations: 1.048 MB / 424.1 MB, free: 1.758 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009627/0.6837, allocations: 0.9616 MB / 425.1 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000884/0.6846, allocations: 117.9 kB / 425.2 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000822/0.6854, allocations: 262.8 kB / 425.5 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of SimCode: time 1.293e-06/0.6855, allocations: 0 / 425.5 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09616/0.7816, allocations: 12.11 MB / 437.6 MB, free: 4.527 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003245/0.782, allocations: 143.8 kB / 437.7 MB, free: 4.305 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.043/3.825, allocations: 64 / 437.7 MB, free: 4.305 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths_res.mat does not exist to compare? outputFormat=mat