Notification: Performance of loadModel(Modelica_Synchronous): time 1.609/1.609, allocations: 206.8 MB / 213.1 MB, free: 9.137 MB / 184.6 MB Notification: Performance of FrontEnd - loaded program: time 0.168/1.777, allocations: 49.48 MB / 262.6 MB, free: 7.469 MB / 216.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07251/1.849, allocations: 47.15 MB / 309.8 MB, free: 8.211 MB / 264.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2398/2.089, allocations: 72.27 MB / 382.1 MB, free: 1.316 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/2.089, allocations: 74.77 kB / 382.1 MB, free: 1.273 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.002793/2.092, allocations: 0.8768 MB / 383 MB, free: 496 kB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/2.092, allocations: 8 kB / 383 MB, free: 488 kB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/2.092, allocations: 4 kB / 383 MB, free: 484 kB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/2.093, allocations: 178.8 kB / 383.2 MB, free: 268 kB / 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.493e-05/2.093, allocations: 33.69 kB / 383.2 MB, free: 228 kB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/2.093, allocations: 4 kB / 383.2 MB, free: 224 kB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.806e-05/2.093, allocations: 11.94 kB / 383.2 MB, free: 216 kB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/2.093, allocations: 112.3 kB / 383.3 MB, free: 112 kB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.867e-06/2.093, allocations: 4.625 kB / 383.4 MB, free: 108 kB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.98e-06/2.093, allocations: 0 / 383.4 MB, free: 108 kB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.507e-06/2.093, allocations: 3.906 kB / 383.4 MB, free: 104 kB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/2.093, allocations: 142 kB / 383.5 MB, free: 15.93 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/2.093, allocations: 135 kB / 383.6 MB, free: 15.78 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.891e-05/2.093, allocations: 24.73 kB / 383.7 MB, free: 15.76 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 5.234e-06/2.093, allocations: 0 / 383.7 MB, free: 15.76 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/2.093, allocations: 31.44 kB / 383.7 MB, free: 15.72 MB / 312.6 MB Notification: Performance of pre-optimization done (n=5): time 1.489e-06/2.093, allocations: 3.938 kB / 383.7 MB, free: 15.71 MB / 312.6 MB Notification: Performance of matching and sorting (n=5): time 0.0001476/2.094, allocations: 57.27 kB / 383.7 MB, free: 15.66 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/2.094, allocations: 51.41 kB / 383.8 MB, free: 15.6 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8e-05/2.094, allocations: 104.9 kB / 383.9 MB, free: 15.49 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/2.094, allocations: 29.7 kB / 383.9 MB, free: 15.46 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/2.094, allocations: 87.95 kB / 384 MB, free: 15.37 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 1.266e-05/2.094, allocations: 4 kB / 384 MB, free: 15.37 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-06/2.094, allocations: 0 / 384 MB, free: 15.37 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001182/2.094, allocations: 322.5 kB / 384.3 MB, free: 15.05 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/2.094, allocations: 4 kB / 384.3 MB, free: 15.04 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.799e-05/2.094, allocations: 31.98 kB / 384.4 MB, free: 15 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.091e-05/2.094, allocations: 19.81 kB / 384.4 MB, free: 14.98 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.805e-06/2.094, allocations: 0 / 384.4 MB, free: 14.98 MB / 312.6 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001153/2.094, allocations: 57.56 kB / 384.4 MB, free: 14.93 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/2.094, allocations: 7.906 kB / 384.4 MB, free: 14.92 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.882e-06/2.094, allocations: 4.156 kB / 384.4 MB, free: 14.91 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/2.094, allocations: 4 kB / 384.5 MB, free: 14.91 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.313e-05/2.094, allocations: 7.984 kB / 384.5 MB, free: 14.9 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/2.094, allocations: 7.938 kB / 384.5 MB, free: 14.89 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.088e-05/2.094, allocations: 0 / 384.5 MB, free: 14.89 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.591e-06/2.094, allocations: 7.938 kB / 384.5 MB, free: 14.89 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/2.095, allocations: 75.28 kB / 384.6 MB, free: 14.82 MB / 312.6 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.89e-05/2.095, allocations: 53.53 kB / 384.6 MB, free: 14.76 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/2.095, allocations: 4 kB / 384.6 MB, free: 14.76 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.323e-05/2.095, allocations: 11.91 kB / 384.6 MB, free: 14.75 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/2.095, allocations: 4 kB / 384.6 MB, free: 14.75 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.048e-06/2.095, allocations: 3.938 kB / 384.6 MB, free: 14.75 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-06/2.095, allocations: 0 / 384.6 MB, free: 14.75 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.086e-05/2.095, allocations: 137.8 kB / 384.8 MB, free: 14.58 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-06/2.095, allocations: 0 / 384.8 MB, free: 14.58 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.271e-06/2.095, allocations: 0 / 384.8 MB, free: 14.58 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.241e-06/2.095, allocations: 4 kB / 384.8 MB, free: 14.57 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/2.095, allocations: 3.984 kB / 384.8 MB, free: 14.57 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.356e-06/2.095, allocations: 0 / 384.8 MB, free: 14.57 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.974e-06/2.095, allocations: 3.906 kB / 384.8 MB, free: 14.57 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001196/2.095, allocations: 80.69 kB / 384.9 MB, free: 14.48 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/2.095, allocations: 88.83 kB / 384.9 MB, free: 14.38 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/2.095, allocations: 256 / 384.9 MB, free: 14.38 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.143e-05/2.095, allocations: 8 kB / 384.9 MB, free: 14.37 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.673e-06/2.095, allocations: 3.984 kB / 384.9 MB, free: 14.36 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.329e-06/2.095, allocations: 0 / 384.9 MB, free: 14.36 MB / 312.6 MB Notification: Performance of sort global known variables: time 4.507e-05/2.095, allocations: 82.84 kB / 385 MB, free: 14.29 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0002514/2.096, allocations: 8 kB / 385 MB, free: 14.28 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003787/2.096, allocations: 0.583 MB / 385.6 MB, free: 13.68 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 9.305e-05/2.096, allocations: 35.8 kB / 385.7 MB, free: 13.65 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 1.758e-06/2.096, allocations: 0 / 385.7 MB, free: 13.65 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 8.13e-07/2.096, allocations: 0 / 385.7 MB, free: 13.65 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006792/2.097, allocations: 0.7156 MB / 386.4 MB, free: 12.93 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002223/2.097, allocations: 105.2 kB / 386.5 MB, free: 12.79 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/2.097, allocations: 0.6992 MB / 387.2 MB, free: 12.07 MB / 312.6 MB Notification: Performance of SimCode: time 6.38e-07/2.097, allocations: 0 / 387.2 MB, free: 12.07 MB / 312.6 MB Notification: Performance of translateModelFMU complete: time 0.003545/2.101, allocations: 1.098 MB / 388.3 MB, free: 10.98 MB / 312.6 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/2.123, allocations: 0 / 388.3 MB, free: 10.98 MB / 312.6 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.003537/2.126, allocations: 183.8 kB / 388.5 MB, free: 10.78 MB / 312.6 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.438/4.564, allocations: 0 / 388.5 MB, free: 10.78 MB / 312.6 MB