Running command: translateModel(Modelica.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.RealNetwork1") Notification: Performance of loadModel(Modelica): time 1.874/1.874, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.61e-05/2.613e-05, allocations: 4 kB / 292.1 MB, free: 8.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08844/0.08849, allocations: 50.41 MB / 342.5 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4141/0.5026, allocations: 77.87 MB / 420.4 MB, free: 292 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003579/0.503, allocations: 65.91 kB / 420.5 MB, free: 260 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0126/0.5157, allocations: 2.673 MB / 423.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5157, allocations: 0 / 423.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.981e-05/0.5158, allocations: 4 kB / 423.1 MB, free: 13.93 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008206/0.5166, allocations: 479 kB / 423.6 MB, free: 13.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.5166, allocations: 8.031 kB / 423.6 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.564e-05/0.5167, allocations: 23.72 kB / 423.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.5171, allocations: 230.2 kB / 423.9 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.5171, allocations: 12.22 kB / 423.9 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.624e-05/0.5172, allocations: 15.92 kB / 423.9 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.5175, allocations: 182 kB / 424.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.5176, allocations: 3.953 kB / 424.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.5176, allocations: 7.625 kB / 424.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.5176, allocations: 7.984 kB / 424.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000288/0.5179, allocations: 114.3 kB / 424.2 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.5193, allocations: 0.7944 MB / 425 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/0.5197, allocations: 147.7 kB / 425.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.5199, allocations: 60.7 kB / 425.2 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.752e-05/0.5199, allocations: 4 kB / 425.2 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002539/0.5202, allocations: 140 kB / 425.3 MB, free: 11.78 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.789e-06/0.5202, allocations: 0 / 425.3 MB, free: 11.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004046/0.5206, allocations: 160.2 kB / 425.5 MB, free: 11.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.5207, allocations: 81.11 kB / 425.6 MB, free: 11.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.5209, allocations: 173 kB / 425.8 MB, free: 11.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.521, allocations: 37.45 kB / 425.8 MB, free: 11.35 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.5211, allocations: 197.7 kB / 426 MB, free: 11.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.663e-05/0.5212, allocations: 47.06 kB / 426 MB, free: 11.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.165e-05/0.5212, allocations: 0 / 426 MB, free: 11.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.5214, allocations: 327.3 kB / 426.3 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.5215, allocations: 55.17 kB / 426.4 MB, free: 10.78 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.5217, allocations: 112.1 kB / 426.5 MB, free: 10.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.5219, allocations: 71.02 kB / 426.6 MB, free: 10.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.22e-06/0.5219, allocations: 3.938 kB / 426.6 MB, free: 10.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004522/0.5224, allocations: 199.6 kB / 426.8 MB, free: 10.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.5224, allocations: 4 kB / 426.8 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.743e-06/0.5224, allocations: 4.188 kB / 426.8 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.5225, allocations: 8.109 kB / 426.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.5227, allocations: 39.11 kB / 426.8 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.389e-06/0.5227, allocations: 4 kB / 426.8 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.523, allocations: 39.06 kB / 426.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.523, allocations: 8 kB / 426.9 MB, free: 10.35 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.multiSwitch.u[1],$PRE.multiSwitch.u[2],$whenCondition2,$whenCondition1,$PRE.booleanPulse1.pulseStart,booleanPulse1.pulseStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,$PRE.booleanPulse2.pulseStart,booleanPulse2.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001248/0.5231, allocations: 127.3 kB / 427 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/0.5232, allocations: 23.75 kB / 427 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004574/0.5237, allocations: 186.8 kB / 427.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.275e-06/0.5237, allocations: 0 / 427.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.197e-06/0.5237, allocations: 4 kB / 427.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.162e-06/0.5237, allocations: 0 / 427.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003565/0.5241, allocations: 268.2 kB / 427.5 MB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.939e-06/0.5241, allocations: 0 / 427.5 MB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.5243, allocations: 27.36 kB / 427.5 MB, free: 9.746 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.5243, allocations: 7.953 kB / 427.5 MB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.5243, allocations: 0 / 427.5 MB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.091e-06/0.5244, allocations: 3.984 kB / 427.5 MB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.855e-06/0.5244, allocations: 4 kB / 427.5 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.5248, allocations: 207.9 kB / 427.7 MB, free: 9.535 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.939e-05/0.5249, allocations: 96.88 kB / 427.8 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.5249, allocations: 7.188 kB / 427.8 MB, free: 9.418 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.5251, allocations: 19.97 kB / 427.8 MB, free: 9.398 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.378e-05/0.5252, allocations: 23.11 kB / 427.9 MB, free: 9.379 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.5253, allocations: 11.94 kB / 427.9 MB, free: 9.367 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001737/0.5255, allocations: 146.5 kB / 428 MB, free: 9.242 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.59e-07/0.5255, allocations: 0 / 428 MB, free: 9.242 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003494/0.5258, allocations: 46.09 kB / 428.1 MB, free: 9.203 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: 7 ($whenCondition2,$whenCondition1,booleanPulse1.pulseStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,booleanPulse2.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000172/0.526, allocations: 110.9 kB / 428.2 MB, free: 9.086 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003716/0.5264, allocations: 142 kB / 428.3 MB, free: 8.98 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.829e-06/0.5264, allocations: 0 / 428.3 MB, free: 8.98 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.5266, allocations: 71.3 kB / 428.4 MB, free: 8.93 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.527, allocations: 34.97 kB / 428.4 MB, free: 8.902 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006751/0.5277, allocations: 295.7 kB / 428.7 MB, free: 8.621 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.5281, allocations: 0.7398 MB / 429.4 MB, free: 7.852 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.702e-05/0.5282, allocations: 27.25 kB / 429.5 MB, free: 7.828 MB / 346.7 MB Notification: Performance of SimCode: time 1.581e-06/0.5282, allocations: 3.938 kB / 429.5 MB, free: 7.824 MB / 346.7 MB Notification: Performance of Templates: time 0.005449/0.5337, allocations: 2.358 MB / 431.8 MB, free: 5.496 MB / 346.7 MB