Notification: Performance of loadModel(Modelica_Synchronous): time 1.626/1.626, allocations: 206.2 MB / 212.5 MB, free: 9.609 MB / 184.6 MB Notification: Performance of FrontEnd - loaded program: time 0.2182/1.844, allocations: 49.31 MB / 261.8 MB, free: 8.156 MB / 216.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07511/1.919, allocations: 46.98 MB / 308.8 MB, free: 9.078 MB / 264.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2766/2.196, allocations: 72.19 MB / 381 MB, free: 2.699 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/2.196, allocations: 77.48 kB / 381.1 MB, free: 2.656 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.002865/2.199, allocations: 0.8737 MB / 381.9 MB, free: 1.871 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/2.199, allocations: 12 kB / 381.9 MB, free: 1.859 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/2.199, allocations: 0.5 kB / 381.9 MB, free: 1.859 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/2.199, allocations: 181.9 kB / 382.1 MB, free: 1.645 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.93e-05/2.199, allocations: 35.31 kB / 382.1 MB, free: 1.605 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/2.199, allocations: 4 kB / 382.2 MB, free: 1.602 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.017e-05/2.2, allocations: 15.44 kB / 382.2 MB, free: 1.59 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/2.2, allocations: 112.1 kB / 382.3 MB, free: 1.484 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.242e-06/2.2, allocations: 0 / 382.3 MB, free: 1.484 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.625e-06/2.2, allocations: 0 / 382.3 MB, free: 1.484 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.542e-06/2.2, allocations: 11.91 kB / 382.3 MB, free: 1.473 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001044/2.2, allocations: 135.9 kB / 382.4 MB, free: 1.309 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/2.2, allocations: 133.2 kB / 382.6 MB, free: 1.16 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/2.2, allocations: 23.97 kB / 382.6 MB, free: 1.141 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 9.455e-06/2.2, allocations: 0 / 382.6 MB, free: 1.141 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.364e-05/2.2, allocations: 38.59 kB / 382.6 MB, free: 1.094 MB / 296.6 MB Notification: Performance of pre-optimization done (n=5): time 1.671e-06/2.2, allocations: 4 kB / 382.6 MB, free: 1.09 MB / 296.6 MB Notification: Performance of matching and sorting (n=5): time 0.0001512/2.2, allocations: 53.05 kB / 382.7 MB, free: 1.039 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/2.2, allocations: 56.64 kB / 382.7 MB, free: 0.9727 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.867e-05/2.201, allocations: 96.25 kB / 382.8 MB, free: 0.875 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/2.201, allocations: 32.45 kB / 382.8 MB, free: 0.8398 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 1.391e-05/2.201, allocations: 80.14 kB / 382.9 MB, free: 0.7578 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 1.194e-05/2.201, allocations: 7.938 kB / 382.9 MB, free: 0.75 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-06/2.201, allocations: 0 / 382.9 MB, free: 0.75 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 4.922e-05/2.201, allocations: 326.2 kB / 383.3 MB, free: 436 kB / 296.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/2.201, allocations: 7.5 kB / 383.3 MB, free: 432 kB / 296.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.019e-05/2.201, allocations: 31.92 kB / 383.3 MB, free: 388 kB / 296.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.702e-05/2.201, allocations: 14.92 kB / 383.3 MB, free: 376 kB / 296.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.988e-06/2.201, allocations: 4 kB / 383.3 MB, free: 372 kB / 296.6 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001126/2.201, allocations: 61.27 kB / 383.4 MB, free: 308 kB / 296.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/2.201, allocations: 11.89 kB / 383.4 MB, free: 296 kB / 296.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.815e-06/2.201, allocations: 0 / 383.4 MB, free: 296 kB / 296.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/2.201, allocations: 4 kB / 383.4 MB, free: 292 kB / 296.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.361e-05/2.201, allocations: 4 kB / 383.4 MB, free: 288 kB / 296.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.93e-06/2.201, allocations: 0.875 kB / 383.4 MB, free: 288 kB / 296.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.778e-05/2.201, allocations: 4 kB / 383.4 MB, free: 284 kB / 296.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.363e-06/2.201, allocations: 4.156 kB / 383.4 MB, free: 280 kB / 296.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/2.201, allocations: 75.28 kB / 383.5 MB, free: 204 kB / 296.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.671e-05/2.201, allocations: 58.97 kB / 383.5 MB, free: 148 kB / 296.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/2.201, allocations: 8.062 kB / 383.5 MB, free: 144 kB / 296.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.241e-06/2.201, allocations: 0 / 383.5 MB, free: 144 kB / 296.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/2.201, allocations: 4.188 kB / 383.5 MB, free: 140 kB / 296.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/2.201, allocations: 0 / 383.5 MB, free: 140 kB / 296.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.287e-05/2.201, allocations: 147.3 kB / 383.7 MB, free: 15.96 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.535e-06/2.201, allocations: 3.906 kB / 383.7 MB, free: 15.95 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.845e-06/2.201, allocations: 0 / 383.7 MB, free: 15.95 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.657e-06/2.201, allocations: 4 kB / 383.7 MB, free: 15.95 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.448e-06/2.201, allocations: 0 / 383.7 MB, free: 15.95 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.595e-06/2.201, allocations: 4 kB / 383.7 MB, free: 15.95 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.372e-06/2.201, allocations: 0 / 383.7 MB, free: 15.95 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001313/2.202, allocations: 82.89 kB / 383.8 MB, free: 15.86 MB / 312.6 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002707/2.202, allocations: 467.6 kB / 384.2 MB, free: 15.39 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/2.202, allocations: 77.11 kB / 384.3 MB, free: 15.29 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/2.202, allocations: 7.25 kB / 384.3 MB, free: 15.29 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.587e-05/2.202, allocations: 7.984 kB / 384.3 MB, free: 15.28 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-06/2.202, allocations: 3.906 kB / 384.3 MB, free: 15.28 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.239e-06/2.202, allocations: 0 / 384.3 MB, free: 15.28 MB / 312.6 MB Notification: Performance of sort global known variables: time 4.621e-05/2.202, allocations: 82.78 kB / 384.4 MB, free: 15.2 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.001152/2.203, allocations: 8 kB / 384.4 MB, free: 15.19 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 7.919e-05/2.203, allocations: 73.55 kB / 384.5 MB, free: 15.12 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.000108/2.204, allocations: 26.69 kB / 384.5 MB, free: 15.1 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 1.948e-06/2.204, allocations: 0 / 384.5 MB, free: 15.1 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 8e-07/2.204, allocations: 0 / 384.5 MB, free: 15.1 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000745/2.204, allocations: 0.7103 MB / 385.2 MB, free: 14.38 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002326/2.205, allocations: 85.27 kB / 385.3 MB, free: 14.27 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/2.205, allocations: 0.6919 MB / 386 MB, free: 13.55 MB / 312.6 MB Notification: Performance of SimCode: time 8.88e-07/2.205, allocations: 0 / 386 MB, free: 13.55 MB / 312.6 MB