Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestStateSpace,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestStateSpace") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.309/2.309, allocations: 251.5 MB / 266 MB, free: 0.6758 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.09656/0.09656, allocations: 12.6 MB / 336.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.442e-05/3.451e-05, allocations: 8 kB / 399.8 MB, free: 15.46 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3842, allocations: 59.43 MB / 459.2 MB, free: 28.61 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestStateSpace): time 0.001966/0.3862, allocations: 1.412 MB / 460.6 MB, free: 27.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009459/0.3872, allocations: 496 kB / 461.1 MB, free: 26.69 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.416e-05/0.3873, allocations: 7.938 kB / 461.1 MB, free: 26.68 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.3874, allocations: 23.91 kB / 461.1 MB, free: 26.66 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.312e-05/0.3875, allocations: 23.94 kB / 461.1 MB, free: 26.63 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.3879, allocations: 47.83 kB / 461.2 MB, free: 26.59 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.388, allocations: 55.84 kB / 461.2 MB, free: 26.53 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.88e-05/0.3881, allocations: 15.98 kB / 461.3 MB, free: 26.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.3882, allocations: 31.92 kB / 461.3 MB, free: 26.48 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.3884, allocations: 75.78 kB / 461.4 MB, free: 26.41 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.716e-05/0.3884, allocations: 0 / 461.4 MB, free: 26.41 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.3884, allocations: 4 kB / 461.4 MB, free: 26.41 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.655e-05/0.3885, allocations: 39.89 kB / 461.4 MB, free: 26.37 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.678e-05/0.3886, allocations: 4 kB / 461.4 MB, free: 26.36 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.3887, allocations: 86.41 kB / 461.5 MB, free: 26.28 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3887, allocations: 4 kB / 461.5 MB, free: 26.28 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3887, allocations: 0 / 461.5 MB, free: 26.28 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.3887, allocations: 3.938 kB / 461.5 MB, free: 26.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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000763/0.3895, allocations: 415 kB / 461.9 MB, free: 25.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3896, allocations: 8.031 kB / 461.9 MB, free: 25.81 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/0.3896, allocations: 19.77 kB / 461.9 MB, free: 25.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.3898, allocations: 205.3 kB / 462.1 MB, free: 25.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.3899, allocations: 12 kB / 462.2 MB, free: 25.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.3899, allocations: 11.98 kB / 462.2 MB, free: 25.53 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004931/0.3904, allocations: 196.9 kB / 462.4 MB, free: 25.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3904, allocations: 0 / 462.4 MB, free: 25.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.3905, allocations: 3.984 kB / 462.4 MB, free: 25.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.3905, allocations: 8 kB / 462.4 MB, free: 25.31 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002583/0.3908, allocations: 75.89 kB / 462.4 MB, free: 25.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005642/0.3913, allocations: 345.5 kB / 462.8 MB, free: 24.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.3916, allocations: 137.1 kB / 462.9 MB, free: 24.69 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.3917, allocations: 4 kB / 462.9 MB, free: 24.69 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.3919, allocations: 99.5 kB / 463 MB, free: 24.58 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.134e-06/0.3919, allocations: 0 / 463 MB, free: 24.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006763/0.3926, allocations: 249.2 kB / 463.3 MB, free: 24.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.3927, allocations: 85.11 kB / 463.3 MB, free: 24.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.3928, allocations: 133.4 kB / 463.5 MB, free: 24.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.3929, allocations: 33.69 kB / 463.5 MB, free: 24.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/0.3929, allocations: 108.1 kB / 463.6 MB, free: 23.94 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.393, allocations: 23.7 kB / 463.6 MB, free: 23.92 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.058e-05/0.393, allocations: 8 kB / 463.6 MB, free: 23.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.048e-05/0.3931, allocations: 322.8 kB / 464 MB, free: 23.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.3932, allocations: 35.97 kB / 464 MB, free: 23.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.3933, allocations: 107.4 kB / 464.1 MB, free: 23.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.3935, allocations: 55.98 kB / 464.1 MB, free: 23.36 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3935, allocations: 384 / 464.1 MB, free: 23.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003934/0.3939, allocations: 181.4 kB / 464.3 MB, free: 23.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.394, allocations: 4 kB / 464.3 MB, free: 23.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.394, allocations: 7.953 kB / 464.3 MB, free: 23.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.394, allocations: 7.938 kB / 464.3 MB, free: 23.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.3942, allocations: 27.92 kB / 464.4 MB, free: 23.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.3942, allocations: 4 kB / 464.4 MB, free: 23.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.3943, allocations: 11.92 kB / 464.4 MB, free: 23.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.3944, allocations: 12 kB / 464.4 MB, free: 23.1 MB / 346.7 MB Warning: Assuming fixed start value for the following 1 variables: stateSpace2.y[1]:DISCRETE(flow=false fixed = true ) "Connector of Real output signals" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.sampler.firstTrigger,sampler.firstTrigger,$PRE.stateSpace2.firstTrigger,stateSpace2.firstTrigger,$PRE.stateSpace2.x[1],stateSpace2.x[1],$PRE.stateSpace2.y[1],stateSpace2.y[1],$whenCondition1,stateSpace2.sampleTrigger,$whenCondition2,sampler.sampleTrigger,sampler.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001694/0.3945, allocations: 144.5 kB / 464.5 MB, free: 22.95 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.3947, allocations: 77.48 kB / 464.6 MB, free: 22.87 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.879e-05/0.3947, allocations: 20.7 kB / 464.6 MB, free: 22.85 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.3947, allocations: 3.953 kB / 464.6 MB, free: 22.85 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3948, allocations: 4 kB / 464.6 MB, free: 22.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3948, allocations: 0 / 464.6 MB, free: 22.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006326/0.3954, allocations: 454.4 kB / 465.1 MB, free: 22.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3954, allocations: 7.922 kB / 465.1 MB, free: 22.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.3956, allocations: 15.95 kB / 465.1 MB, free: 22.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.3956, allocations: 0 / 465.1 MB, free: 22.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.3956, allocations: 7.984 kB / 465.1 MB, free: 22.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.3956, allocations: 7.984 kB / 465.1 MB, free: 22.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3956, allocations: 0 / 465.1 MB, free: 22.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004682/0.3961, allocations: 305.8 kB / 465.4 MB, free: 21.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.376e-05/0.3962, allocations: 92.86 kB / 465.5 MB, free: 21.87 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.796e-05/0.3962, allocations: 8 kB / 465.5 MB, free: 21.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.3964, allocations: 11.98 kB / 465.5 MB, free: 21.85 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.3965, allocations: 15.98 kB / 465.6 MB, free: 21.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.3965, allocations: 4 kB / 465.6 MB, free: 21.83 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.8e-05/0.3966, allocations: 113.9 kB / 465.7 MB, free: 21.72 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3966, allocations: 4 kB / 465.7 MB, free: 21.72 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003291/0.397, allocations: 20 kB / 465.7 MB, free: 21.7 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 (sampler.sampleTrigger,stateSpace2.sampleTrigger,$whenCondition2,$whenCondition1,stateSpace2.firstTrigger,stateSpace2.y[1],stateSpace2.x[1],sampler.firstTrigger,sampler.y) * Number of discrete states: 1 (stateSpace2.x[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001139/0.3971, allocations: 107.2 kB / 465.8 MB, free: 21.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003778/0.3975, allocations: 128.1 kB / 465.9 MB, free: 21.46 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3975, allocations: 0 / 465.9 MB, free: 21.46 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.3976, allocations: 44.02 kB / 466 MB, free: 21.42 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.398, allocations: 44.12 kB / 466 MB, free: 21.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000629/0.3986, allocations: 303.2 kB / 466.3 MB, free: 21.05 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/0.3988, allocations: 0.7238 MB / 467 MB, free: 20.3 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.84e-05/0.3989, allocations: 12.88 kB / 467 MB, free: 20.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.662e-05/0.3989, allocations: 15.44 kB / 467.1 MB, free: 20.27 MB / 346.7 MB Notification: Performance of SimCode: time 1.663e-06/0.3989, allocations: 0 / 467.1 MB, free: 20.27 MB / 346.7 MB Notification: Performance of Templates: time 0.004418/0.4034, allocations: 1.011 MB / 468.1 MB, free: 19.26 MB / 346.7 MB