Notification: Performance of FrontEnd - loaded program: time 2.261e-05/2.28e-05, allocations: 0 / 328.6 MB, free: 15.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1017, allocations: 44.52 MB / 373.1 MB, free: 3.348 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2537/0.3554, allocations: 71.77 MB / 444.9 MB, free: 17.65 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.3557, allocations: 66.12 kB / 444.9 MB, free: 17.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05138/0.4071, allocations: 13.19 MB / 458.1 MB, free: 4.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.057e-06/0.4072, allocations: 0 / 458.1 MB, free: 4.371 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.516e-05/0.4073, allocations: 27.94 kB / 458.1 MB, free: 4.344 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002644/0.4099, allocations: 0.9153 MB / 459.1 MB, free: 3.352 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.41, allocations: 8.031 kB / 459.1 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005061/0.4105, allocations: 98.88 kB / 459.2 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.4121, allocations: 495.2 kB / 459.6 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001593/0.4122, allocations: 58 kB / 459.7 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003141/0.4126, allocations: 72 kB / 459.8 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003191/0.4158, allocations: 0.7497 MB / 460.5 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003471/0.4193, allocations: 0.8831 MB / 461.4 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.959e-05/0.4194, allocations: 0 / 461.4 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/0.4196, allocations: 0 / 461.4 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/0.4197, allocations: 27.98 kB / 461.4 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007931/0.4276, allocations: 2.738 MB / 464.2 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002414/0.4301, allocations: 0.6555 MB / 464.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.4313, allocations: 335.1 kB / 465.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.4314, allocations: 24.78 kB / 465.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001383/0.4328, allocations: 386.4 kB / 465.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 8.355e-06/0.4329, allocations: 4 kB / 465.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.002639/0.4355, allocations: 0.7084 MB / 466.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.271e-05/0.4357, allocations: 72.7 kB / 466.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007106/0.4364, allocations: 313.2 kB / 466.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002213/0.4366, allocations: 53.69 kB / 466.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004755/0.4371, allocations: 313 kB / 467 MB, free: 11.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004641/0.4376, allocations: 240.9 kB / 467.2 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.637e-05/0.4377, allocations: 0 / 467.2 MB, free: 10.92 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002867/0.438, allocations: 370.7 kB / 467.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.4392, allocations: 282.6 kB / 467.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.4407, allocations: 499.6 kB / 468.4 MB, free: 9.703 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.442, allocations: 294.1 kB / 468.7 MB, free: 9.422 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.442, allocations: 0 / 468.7 MB, free: 9.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003466/0.4455, allocations: 0.8473 MB / 469.5 MB, free: 8.566 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.977e-05/0.4455, allocations: 8 kB / 469.5 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-05/0.4456, allocations: 8 kB / 469.5 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.927e-05/0.4456, allocations: 12.81 kB / 469.5 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008948/0.4466, allocations: 119.7 kB / 469.6 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.01e-05/0.4466, allocations: 19.94 kB / 469.7 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008438/0.4475, allocations: 52.06 kB / 469.7 MB, free: 8.352 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002007/0.4477, allocations: 55.98 kB / 469.8 MB, free: 8.297 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 133 ($PRE.compositeStep.transition3.enableFire,$PRE.compositeStep.transition4.enableFire,$PRE.compositeStep.transition5.enableFire,$PRE.compositeStep.transition6.enableFire,$PRE.compositeStep.transition4a.enableFire,$PRE.compositeStep.transition6a.enableFire,$PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition7.enableFire,stateGraphRoot.resume,stateGraphRoot.suspend,transition2.condition,transition1.condition,compositeStep.resume[1].set,compositeStep.suspend[1].reset,compositeStep.transition6a.condition,compositeStep.transition4a.condition,compositeStep.transition6.condition,compositeStep.transition5.condition,compositeStep.transition4.condition,compositeStep.transition3.condition,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,compositeStep.active,$PRE.compositeStep.newActive,compositeStep.newActive,compositeStep.activeSteps,compositeStep.transition3.enableFire,compositeStep.transition3.fire,$PRE.compositeStep.transition3.t_start,compositeStep.transition3.t_start,compositeStep.transition4.enableFire,compositeStep.transition4.fire,$PRE.compositeStep.transition4.t_start,compositeStep.transition4.t_start,$PRE.compositeStep.step3.localActive,compositeStep.step3.localActive,$PRE.compositeStep.step3.newActive,compositeStep.step3.newActive,$PRE.compositeStep.step3.oldActive,compositeStep.step3.oldActive,compositeStep.step3.active,$PRE.compositeStep.step4.localActive,compositeStep.step4.localActive,$PRE.compositeStep.step4.newActive,compositeStep.step4.newActive,$PRE.compositeStep.step4.oldActive,compositeStep.step4.oldActive,compositeStep.step4.active,compositeStep.transition5.enableFire,compositeStep.transition5.fire,$PRE.compositeStep.transition5.t_start,compositeStep.transition5.t_start,compositeStep.transition6.enableFire,compositeStep.transition6.fire,$PRE.compositeStep.transition6.t_start,compositeStep.transition6.t_start,compositeStep.transition4a.enableFire,compositeStep.transition4a.fire,$PRE.compositeStep.transition4a.t_start,compositeStep.transition4a.t_start,$PRE.compositeStep.step4a.localActive,compositeStep.step4a.localActive,$PRE.compositeStep.step4a.newActive,compositeStep.step4a.newActive,$PRE.compositeStep.step4a.oldActive,compositeStep.step4a.oldActive,compositeStep.step4a.active,compositeStep.transition6a.enableFire,compositeStep.transition6a.fire,$PRE.compositeStep.transition6a.t_start,compositeStep.transition6a.t_start,$PRE.compositeStep.initStep.localActive,compositeStep.initStep.localActive,compositeStep.initStep.outPort[1].reset,$PRE.compositeStep.initStep.newActive,compositeStep.initStep.newActive,$PRE.compositeStep.initStep.oldActive,compositeStep.initStep.oldActive,compositeStep.initStep.active,$PRE.compositeStep.exitStep.localActive,compositeStep.exitStep.localActive,compositeStep.exitStep.inPort[1].set,$PRE.compositeStep.exitStep.newActive,compositeStep.exitStep.newActive,$PRE.compositeStep.exitStep.oldActive,compositeStep.exitStep.oldActive,compositeStep.exitStep.active,compositeStep.Alternative1.split[2].available,compositeStep.Alternative1.split[3].available,$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,transition7.enableFire,Parallel1.inPort.occupied,Parallel1.outPort.available,setCondition.y,stateGraphRoot.activeSteps,compositeStep.stateGraphRoot.resume,compositeStep.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 165 * 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.0004564/0.4482, allocations: 207.8 kB / 470 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.4484, allocations: 51.44 kB / 470 MB, free: 8.035 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002691/0.4511, allocations: 0.6909 MB / 470.7 MB, free: 7.336 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-05/0.4512, allocations: 12 kB / 470.7 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.63e-06/0.4512, allocations: 0 / 470.7 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.913e-05/0.4512, allocations: 7.969 kB / 470.7 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005612/0.4568, allocations: 1.622 MB / 472.4 MB, free: 5.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/0.4569, allocations: 0 / 472.4 MB, free: 5.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005928/0.4575, allocations: 71.77 kB / 472.4 MB, free: 5.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-05/0.4576, allocations: 7.953 kB / 472.4 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.537e-05/0.4577, allocations: 15.97 kB / 472.4 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.407e-05/0.4577, allocations: 4 kB / 472.5 MB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.752e-06/0.4577, allocations: 3.938 kB / 472.5 MB, free: 5.547 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003991/0.4617, allocations: 1.637 MB / 474.1 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.462, allocations: 120.5 kB / 474.2 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.4622, allocations: 11.98 kB / 474.2 MB, free: 3.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005799/0.4628, allocations: 27.97 kB / 474.2 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00051/0.4633, allocations: 141.1 kB / 474.4 MB, free: 3.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/0.4634, allocations: 27.98 kB / 474.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002942/0.4637, allocations: 162 kB / 474.6 MB, free: 3.359 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.97e-07/0.4638, allocations: 0 / 474.6 MB, free: 3.359 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00165/0.4654, allocations: 131.9 kB / 474.7 MB, free: 3.23 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 80 (compositeStep.transition4a.enableFire,compositeStep.transition4.enableFire,step6.localActive,transition2.enableFire,transition1.enableFire,step1.localActive,step0.localActive,compositeStep.exitStep.localActive,compositeStep.transition5.enableFire,compositeStep.transition6.enableFire,compositeStep.transition6a.enableFire,compositeStep.initStep.localActive,compositeStep.transition3.enableFire,compositeStep.step4a.localActive,compositeStep.step4.localActive,compositeStep.step3.localActive,$cse1,$cse2,$cse3,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,compositeStep.active,compositeStep.newActive,compositeStep.activeSteps,compositeStep.transition3.fire,compositeStep.transition3.t_start,compositeStep.transition4.fire,compositeStep.transition4.t_start,compositeStep.step3.newActive,compositeStep.step3.oldActive,compositeStep.step3.active,compositeStep.step4.newActive,compositeStep.step4.oldActive,compositeStep.step4.active,compositeStep.transition5.fire,compositeStep.transition5.t_start,compositeStep.transition6.fire,compositeStep.transition6.t_start,compositeStep.transition4a.fire,compositeStep.transition4a.t_start,compositeStep.step4a.newActive,compositeStep.step4a.oldActive,compositeStep.step4a.active,compositeStep.transition6a.fire,compositeStep.transition6a.t_start,compositeStep.initStep.outPort[1].reset,compositeStep.initStep.newActive,compositeStep.initStep.oldActive,compositeStep.initStep.active,compositeStep.exitStep.inPort[1].set,compositeStep.exitStep.newActive,compositeStep.exitStep.oldActive,compositeStep.exitStep.active,compositeStep.Alternative1.split[2].available,compositeStep.Alternative1.split[3].available,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,transition7.enableFire,Parallel1.inPort.occupied,Parallel1.outPort.available,setCondition.y,stateGraphRoot.activeSteps) * Number of discrete states: 9 (compositeStep.step3.newActive,compositeStep.step4.newActive,compositeStep.step4a.newActive,compositeStep.initStep.newActive,compositeStep.exitStep.newActive,compositeStep.newActive,step0.newActive,step1.newActive,step6.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 91 * 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.0004289/0.4659, allocations: 167.2 kB / 474.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002571/0.4685, allocations: 0.7518 MB / 475.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.317e-06/0.4685, allocations: 4 kB / 475.6 MB, free: 2.293 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.4697, allocations: 374.5 kB / 476 MB, free: 1.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007912/0.4705, allocations: 56.48 kB / 476 MB, free: 1.875 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005048/0.4756, allocations: 1.528 MB / 477.6 MB, free: 320 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/0.4768, allocations: 0.9897 MB / 478.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0009627/0.4778, allocations: 126.1 kB / 478.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004713/0.4783, allocations: 75.39 kB / 478.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of SimCode: time 2.243e-06/0.4783, allocations: 0 / 478.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of Templates: time 0.03414/0.5124, allocations: 7.284 MB / 486 MB, free: 7.82 MB / 350.1 MB