Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.165/2.165, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.906e-05/3.917e-05, allocations: 4 kB / 284.4 MB, free: 8.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1099, allocations: 50.36 MB / 334.8 MB, free: 6.133 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4289/0.5389, allocations: 79.05 MB / 413.8 MB, free: 14.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/0.5391, allocations: 63.41 kB / 413.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007781/0.5469, allocations: 1.74 MB / 415.6 MB, free: 13.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.547, allocations: 0.9844 kB / 415.6 MB, free: 13.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.547, allocations: 4 kB / 415.6 MB, free: 13.27 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006157/0.5476, allocations: 376.8 kB / 416 MB, free: 12.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.5477, allocations: 8.031 kB / 416 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.713e-05/0.5478, allocations: 37.48 kB / 416 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.5478, allocations: 7.906 kB / 416 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.5481, allocations: 189.5 kB / 416.2 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.5481, allocations: 7.266 kB / 416.2 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.5481, allocations: 4 kB / 416.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/0.5485, allocations: 122.3 kB / 416.4 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.5485, allocations: 0 / 416.4 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.5485, allocations: 3.984 kB / 416.4 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.5485, allocations: 8 kB / 416.4 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.789e-05/0.5486, allocations: 23.44 kB / 416.4 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006321/0.5493, allocations: 385.3 kB / 416.8 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.5498, allocations: 107.2 kB / 416.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.966e-05/0.5499, allocations: 30.45 kB / 416.9 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.5499, allocations: 0 / 416.9 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.5501, allocations: 84.66 kB / 417 MB, free: 11.76 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 2.184e-06/0.5501, allocations: 0 / 417 MB, free: 11.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003071/0.5504, allocations: 84.95 kB / 417.1 MB, free: 11.68 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.199e-05/0.5505, allocations: 110.6 kB / 417.2 MB, free: 11.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.5507, allocations: 117.7 kB / 417.3 MB, free: 11.44 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.5507, allocations: 25.7 kB / 417.3 MB, free: 11.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.281e-05/0.5508, allocations: 154.6 kB / 417.5 MB, free: 11.26 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.5508, allocations: 19.72 kB / 417.5 MB, free: 11.24 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.739e-06/0.5508, allocations: 3.75 kB / 417.5 MB, free: 11.24 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.551, allocations: 326.7 kB / 417.8 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.824e-05/0.551, allocations: 15.12 kB / 417.8 MB, free: 10.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.315e-05/0.5512, allocations: 61.83 kB / 417.9 MB, free: 10.83 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.5514, allocations: 112.5 kB / 418 MB, free: 10.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.5514, allocations: 0 / 418 MB, free: 10.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002379/0.5516, allocations: 100.9 kB / 418.1 MB, free: 10.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.5517, allocations: 8.172 kB / 418.1 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.5517, allocations: 4 kB / 418.1 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.5517, allocations: 4 kB / 418.1 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.5519, allocations: 19.62 kB / 418.1 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.5519, allocations: 3.938 kB / 418.1 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.5521, allocations: 15.92 kB / 418.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.5521, allocations: 8 kB / 418.1 MB, free: 10.56 MB / 346.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: firstOrder.y = firstOrder.y_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001325/0.5522, allocations: 120.6 kB / 418.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.5524, allocations: 61.44 kB / 418.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.071e-05/0.5524, allocations: 11.94 kB / 418.3 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.5525, allocations: 4 kB / 418.3 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.5525, allocations: 3.938 kB / 418.3 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.5525, allocations: 0 / 418.3 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005214/0.553, allocations: 334 kB / 418.7 MB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.5531, allocations: 4 kB / 418.7 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.5533, allocations: 19.98 kB / 418.7 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.5533, allocations: 4 kB / 418.7 MB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.5533, allocations: 7.75 kB / 418.7 MB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.5533, allocations: 3.984 kB / 418.7 MB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.5533, allocations: 0 / 418.7 MB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.5536, allocations: 223.9 kB / 418.9 MB, free: 9.723 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.5537, allocations: 85.02 kB / 419 MB, free: 9.621 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.5537, allocations: 3.812 kB / 419 MB, free: 9.621 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.5539, allocations: 11.98 kB / 419 MB, free: 9.609 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.025e-05/0.554, allocations: 11.94 kB / 419 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.554, allocations: 11.94 kB / 419.1 MB, free: 9.59 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.827e-05/0.5541, allocations: 95.16 kB / 419.1 MB, free: 9.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5541, allocations: 3.938 kB / 419.1 MB, free: 9.496 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003824/0.5545, allocations: 15.94 kB / 419.2 MB, free: 9.484 MB / 346.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: 4 (booleanPulse.y,$whenCondition1,booleanPulse.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008194/0.5554, allocations: 0.9235 MB / 420.1 MB, free: 8.551 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002952/0.5557, allocations: 63.3 kB / 420.1 MB, free: 8.504 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.5557, allocations: 3.938 kB / 420.2 MB, free: 8.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.7e-05/0.5558, allocations: 15.88 kB / 420.2 MB, free: 8.488 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.5562, allocations: 23.95 kB / 420.2 MB, free: 8.469 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007231/0.557, allocations: 210.1 kB / 420.4 MB, free: 8.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.5573, allocations: 0.7043 MB / 421.1 MB, free: 7.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.404e-05/0.5574, allocations: 26.8 kB / 421.1 MB, free: 7.488 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5574, allocations: 0 / 421.1 MB, free: 7.488 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.542/3.1, allocations: 1.596 MB / 422.7 MB, free: 5.906 MB / 346.7 MB