Notification: Performance of loadModel(Modelica_Synchronous): time 1.562/1.562, allocations: 206.8 MB / 213.5 MB, free: 9.145 MB / 184.6 MB Notification: Performance of FrontEnd - loaded program: time 0.1651/1.727, allocations: 49.11 MB / 262.6 MB, free: 7.852 MB / 216.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0865/1.813, allocations: 47.15 MB / 309.8 MB, free: 8.598 MB / 264.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2585/2.072, allocations: 72.28 MB / 382 MB, free: 1.555 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/2.072, allocations: 74.27 kB / 382.1 MB, free: 1.516 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.002735/2.075, allocations: 0.8666 MB / 383 MB, free: 0.7383 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/2.075, allocations: 12 kB / 383 MB, free: 0.7266 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/2.075, allocations: 3.938 kB / 383 MB, free: 0.7227 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/2.075, allocations: 182.3 kB / 383.2 MB, free: 0.5078 MB / 296.6 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: pulse.startOutput = previous(pulse.counter) >= -1 + pulse.startTick to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.45e-05/2.075, allocations: 33.69 kB / 383.2 MB, free: 480 kB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/2.075, allocations: 4 kB / 383.2 MB, free: 476 kB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.035e-05/2.075, allocations: 19.84 kB / 383.2 MB, free: 464 kB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/2.076, allocations: 110.4 kB / 383.3 MB, free: 360 kB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.272e-06/2.076, allocations: 0 / 383.3 MB, free: 360 kB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.893e-06/2.076, allocations: 0 / 383.3 MB, free: 360 kB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.369e-06/2.076, allocations: 8.781 kB / 383.3 MB, free: 352 kB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.186e-05/2.076, allocations: 137.7 kB / 383.5 MB, free: 180 kB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/2.076, allocations: 136.4 kB / 383.6 MB, free: 28 kB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.506e-05/2.076, allocations: 19.73 kB / 383.6 MB, free: 12 kB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 9.553e-06/2.076, allocations: 0 / 383.6 MB, free: 12 kB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.381e-05/2.076, allocations: 38.5 kB / 383.7 MB, free: 15.96 MB / 312.6 MB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/2.076, allocations: 0 / 383.7 MB, free: 15.96 MB / 312.6 MB Notification: Performance of matching and sorting (n=5): time 0.0001585/2.076, allocations: 55.08 kB / 383.7 MB, free: 15.91 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/2.076, allocations: 58.72 kB / 383.8 MB, free: 15.84 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.951e-05/2.077, allocations: 100.9 kB / 383.9 MB, free: 15.74 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/2.077, allocations: 29.7 kB / 383.9 MB, free: 15.71 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 6.277e-05/2.077, allocations: 154.5 kB / 384 MB, free: 15.55 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 1.082e-05/2.077, allocations: 0 / 384 MB, free: 15.55 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-06/2.077, allocations: 0 / 384 MB, free: 15.55 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001247/2.077, allocations: 318 kB / 384.4 MB, free: 15.24 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.768e-05/2.077, allocations: 4 kB / 384.4 MB, free: 15.23 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.67e-05/2.077, allocations: 46.61 kB / 384.4 MB, free: 15.18 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.986e-05/2.077, allocations: 11.11 kB / 384.4 MB, free: 15.17 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.08e-06/2.077, allocations: 4 kB / 384.4 MB, free: 15.17 MB / 312.6 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001135/2.077, allocations: 52.75 kB / 384.5 MB, free: 15.11 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/2.077, allocations: 12.16 kB / 384.5 MB, free: 15.1 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/2.077, allocations: 0 / 384.5 MB, free: 15.1 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/2.077, allocations: 4 kB / 384.5 MB, free: 15.1 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.369e-05/2.077, allocations: 7.938 kB / 384.5 MB, free: 15.09 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.744e-06/2.077, allocations: 3.906 kB / 384.5 MB, free: 15.09 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.204e-05/2.077, allocations: 0 / 384.5 MB, free: 15.09 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.529e-06/2.077, allocations: 4 kB / 384.5 MB, free: 15.08 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 4.144e-05/2.077, allocations: 75.28 kB / 384.6 MB, free: 15.01 MB / 312.6 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001053/2.077, allocations: 58.84 kB / 384.6 MB, free: 14.95 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/2.077, allocations: 4 kB / 384.6 MB, free: 14.95 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/2.077, allocations: 12.05 kB / 384.7 MB, free: 14.94 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.65e-06/2.077, allocations: 3.938 kB / 384.7 MB, free: 14.94 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.735e-06/2.077, allocations: 0.875 kB / 384.7 MB, free: 14.94 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.369e-06/2.078, allocations: 7.906 kB / 384.7 MB, free: 14.93 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.479e-05/2.078, allocations: 133.6 kB / 384.8 MB, free: 14.77 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-06/2.078, allocations: 0 / 384.8 MB, free: 14.77 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.648e-06/2.078, allocations: 4 kB / 384.8 MB, free: 14.76 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-06/2.078, allocations: 0 / 384.8 MB, free: 14.76 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/2.078, allocations: 3.438 kB / 384.8 MB, free: 14.76 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.621e-06/2.078, allocations: 4 kB / 384.8 MB, free: 14.76 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.536e-06/2.078, allocations: 3.938 kB / 384.8 MB, free: 14.75 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001237/2.078, allocations: 82.59 kB / 384.9 MB, free: 14.66 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/2.078, allocations: 89 kB / 385 MB, free: 14.56 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/2.078, allocations: 0 / 385 MB, free: 14.56 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.316e-05/2.078, allocations: 4 kB / 385 MB, free: 14.55 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-06/2.078, allocations: 0 / 385 MB, free: 14.55 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/2.078, allocations: 4 kB / 385 MB, free: 14.55 MB / 312.6 MB Notification: Performance of sort global known variables: time 4.781e-05/2.078, allocations: 82.41 kB / 385.1 MB, free: 14.47 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0002485/2.078, allocations: 8 kB / 385.1 MB, free: 14.46 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003957/2.079, allocations: 0.5856 MB / 385.7 MB, free: 13.87 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 9.985e-05/2.079, allocations: 30.38 kB / 385.7 MB, free: 13.84 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 2.06e-06/2.079, allocations: 0 / 385.7 MB, free: 13.84 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 9.14e-07/2.079, allocations: 320 / 385.7 MB, free: 13.84 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007219/2.08, allocations: 0.7198 MB / 386.4 MB, free: 13.11 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/2.08, allocations: 137.8 kB / 386.5 MB, free: 12.94 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003178/2.08, allocations: 0.6985 MB / 387.2 MB, free: 12.22 MB / 312.6 MB Notification: Performance of SimCode: time 2.65e-06/2.08, allocations: 0 / 387.2 MB, free: 12.22 MB / 312.6 MB Notification: Performance of translateModelFMU complete: time 0.002957/2.083, allocations: 1.032 MB / 388.3 MB, free: 11.2 MB / 312.6 MB Notification: Performance of buildModelFMU: Generate C++ for platform dynamic: time 1.847/3.93, allocations: 4 kB / 388.3 MB, free: 11.19 MB / 312.6 MB