Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ExecutionPaths,fileNamePrefix="Modelica_trunk_cpp_Modelica_StateGraph_Examples_ExecutionPaths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.98/1.98, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.728e-05/3.741e-05, allocations: 4 kB / 292.2 MB, free: 8.746 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1078, allocations: 50.42 MB / 342.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4647/0.5726, allocations: 77.61 MB / 420.2 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.5729, allocations: 71.02 kB / 420.3 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05592/0.6288, allocations: 11.9 MB / 432.2 MB, free: 6.195 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.6289, allocations: 4 kB / 432.2 MB, free: 6.191 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.829e-05/0.629, allocations: 28.16 kB / 432.2 MB, free: 6.164 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.002851/0.6318, allocations: 0.907 MB / 433.1 MB, free: 5.238 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.6319, allocations: 8.031 kB / 433.1 MB, free: 5.23 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004381/0.6324, allocations: 148.3 kB / 433.3 MB, free: 5.137 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003064/0.6327, allocations: 98.95 kB / 433.4 MB, free: 5.039 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.6339, allocations: 439.3 kB / 433.8 MB, free: 4.641 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/0.6341, allocations: 89 kB / 433.9 MB, free: 4.594 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003014/0.6344, allocations: 111.2 kB / 434 MB, free: 4.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00283/0.6372, allocations: 0.9299 MB / 434.9 MB, free: 3.855 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.321e-05/0.6373, allocations: 4 kB / 434.9 MB, free: 3.852 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.6375, allocations: 43.08 kB / 435 MB, free: 3.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.369e-05/0.6375, allocations: 24 kB / 435 MB, free: 3.816 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002389/0.6399, allocations: 0.678 MB / 435.7 MB, free: 3.367 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006488/0.6465, allocations: 2.485 MB / 438.2 MB, free: 1.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.6483, allocations: 0.6508 MB / 438.8 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008804/0.6492, allocations: 336.5 kB / 439.1 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.6494, allocations: 12.77 kB / 439.2 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/0.6504, allocations: 436.3 kB / 439.6 MB, free: 340 kB / 346.7 MB Notification: Performance of pre-optimization done (n=100): time 5.431e-06/0.6505, allocations: 0 / 439.6 MB, free: 340 kB / 346.7 MB Notification: Performance of matching and sorting (n=100): time 0.001765/0.6523, allocations: 0.6074 MB / 440.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/0.6524, allocations: 131.5 kB / 440.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005268/0.653, allocations: 291.6 kB / 440.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000236/0.6532, allocations: 72.88 kB / 440.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003636/0.6536, allocations: 356.5 kB / 441 MB, free: 15.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003901/0.654, allocations: 241.6 kB / 441.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.298e-05/0.6541, allocations: 28.56 kB / 441.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.6543, allocations: 355.9 kB / 441.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007969/0.6551, allocations: 256.7 kB / 441.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.6562, allocations: 475.6 kB / 442.3 MB, free: 13.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008608/0.6571, allocations: 268.5 kB / 442.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-05/0.6572, allocations: 4 kB / 442.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002336/0.6595, allocations: 0.8356 MB / 443.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.822e-05/0.6596, allocations: 8 kB / 443.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/0.6596, allocations: 4 kB / 443.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.92e-05/0.6597, allocations: 16.72 kB / 443.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008949/0.6606, allocations: 125.3 kB / 443.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.656e-05/0.6607, allocations: 16 kB / 443.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006991/0.6614, allocations: 75.05 kB / 443.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/0.6615, allocations: 49.17 kB / 443.7 MB, free: 12.88 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 126 ($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,$PRE.transition7.t_start,transition7.t_start,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 (156): * Single equations (assignments): 156 * 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.0003743/0.6619, allocations: 232.7 kB / 444 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.6621, allocations: 47.44 kB / 444 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001983/0.6641, allocations: 0.7281 MB / 444.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-05/0.6642, allocations: 8 kB / 444.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.6642, allocations: 7.953 kB / 444.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/0.6642, allocations: 11.97 kB / 444.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004641/0.6689, allocations: 1.654 MB / 446.4 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.6689, allocations: 0 / 446.4 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005552/0.6695, allocations: 75.83 kB / 446.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.826e-05/0.6695, allocations: 4 kB / 446.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.813e-05/0.6696, allocations: 23.98 kB / 446.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.179e-05/0.6697, allocations: 8 kB / 446.5 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.6697, allocations: 0 / 446.5 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/0.6716, allocations: 0.8015 MB / 447.3 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/0.6718, allocations: 128.4 kB / 447.5 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.672, allocations: 31.94 kB / 447.5 MB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004778/0.6725, allocations: 43.97 kB / 447.5 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003495/0.6728, allocations: 96.84 kB / 447.6 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.673, allocations: 35.98 kB / 447.7 MB, free: 9.391 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002388/0.6732, allocations: 157.4 kB / 447.8 MB, free: 9.238 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6732, allocations: 0 / 447.8 MB, free: 9.238 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001083/0.6743, allocations: 171.9 kB / 448 MB, free: 9.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 85 (transition7.t_start,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: 9 (step0.newActive,step1.newActive,step6.newActive,step2.newActive,step3.newActive,step4.newActive,step5.newActive,step4a.newActive,transition7.t_start) * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.002518/0.6769, allocations: 1.546 MB / 449.5 MB, free: 7.488 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002155/0.6791, allocations: 0.7096 MB / 450.2 MB, free: 6.777 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.6792, allocations: 4.562 kB / 450.2 MB, free: 6.773 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.6802, allocations: 371.6 kB / 450.6 MB, free: 6.414 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007844/0.681, allocations: 84.25 kB / 450.7 MB, free: 6.332 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003701/0.6847, allocations: 1.075 MB / 451.8 MB, free: 5.203 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007562/0.6856, allocations: 0.9627 MB / 452.7 MB, free: 4.215 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007823/0.6864, allocations: 275.3 kB / 453 MB, free: 3.945 MB / 362.7 MB Notification: Performance of SimCode: time 1.292e-06/0.6864, allocations: 0 / 453 MB, free: 3.945 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.615/3.302, allocations: 11.44 MB / 464.4 MB, free: 8.484 MB / 378.7 MB