Running command: translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") Notification: Performance of loadModel(ThermoPower): time 2.226/2.226, allocations: 254.6 MB / 267.7 MB, free: 12.38 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.232e-05/3.229e-05, allocations: 4 kB / 330.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3127, allocations: 60.24 MB / 391 MB, free: 4.883 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1839/0.4966, allocations: 87.77 MB / 478.8 MB, free: 12.99 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003943/0.4971, allocations: 71.95 kB / 478.9 MB, free: 12.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05061/0.5477, allocations: 6.92 MB / 485.8 MB, free: 5.977 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.451e-06/0.5478, allocations: 0 / 485.8 MB, free: 5.977 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.008e-05/0.5479, allocations: 8 kB / 485.8 MB, free: 5.969 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001886/0.5498, allocations: 0.6151 MB / 486.4 MB, free: 5.309 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.203e-05/0.5498, allocations: 12.03 kB / 486.4 MB, free: 5.297 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/0.5501, allocations: 51.39 kB / 486.5 MB, free: 5.246 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.5512, allocations: 360.2 kB / 486.8 MB, free: 4.852 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.5513, allocations: 20.78 kB / 486.9 MB, free: 4.832 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.5514, allocations: 36 kB / 486.9 MB, free: 4.797 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.5525, allocations: 277.9 kB / 487.2 MB, free: 4.512 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.879e-05/0.5526, allocations: 4 kB / 487.2 MB, free: 4.508 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.423e-05/0.5527, allocations: 11.94 kB / 487.2 MB, free: 4.496 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.5527, allocations: 8 kB / 487.2 MB, free: 4.488 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008585/0.5536, allocations: 185 kB / 487.4 MB, free: 4.305 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002597/0.5562, allocations: 1.124 MB / 488.5 MB, free: 3.113 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005364/0.5568, allocations: 243.1 kB / 488.7 MB, free: 2.863 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.557, allocations: 112.8 kB / 488.8 MB, free: 2.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.5571, allocations: 4 kB / 488.8 MB, free: 2.746 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.5571, allocations: 38.56 kB / 488.9 MB, free: 2.699 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 3.215e-06/0.5572, allocations: 0 / 488.9 MB, free: 2.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.001722/0.5589, allocations: 0.7319 MB / 489.6 MB, free: 1.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.559, allocations: 59.36 kB / 489.7 MB, free: 1.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004859/0.5595, allocations: 307.6 kB / 490 MB, free: 1.531 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.5595, allocations: 33.69 kB / 490 MB, free: 1.492 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.5597, allocations: 208.3 kB / 490.2 MB, free: 1.285 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.5598, allocations: 126.2 kB / 490.3 MB, free: 1.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.5599, allocations: 8 kB / 490.3 MB, free: 1.152 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.5601, allocations: 346.8 kB / 490.7 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.5603, allocations: 88.73 kB / 490.8 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.5606, allocations: 121.4 kB / 490.9 MB, free: 0.582 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.5609, allocations: 103.7 kB / 491 MB, free: 492 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.618e-06/0.5609, allocations: 0 / 491 MB, free: 492 kB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001183/0.5621, allocations: 417.2 kB / 491.4 MB, free: 64 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.5621, allocations: 8.719 kB / 491.4 MB, free: 56 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5621, allocations: 3.938 kB / 491.4 MB, free: 52 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008833/0.563, allocations: 148.8 kB / 491.5 MB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/0.5636, allocations: 95.84 kB / 491.6 MB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/0.5657, allocations: 1.985 MB / 493.6 MB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/0.5661, allocations: 16.03 kB / 493.6 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.744e-05/0.5662, allocations: 8 kB / 493.6 MB, free: 13.63 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.5663, allocations: 125.1 kB / 493.8 MB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.5664, allocations: 47.48 kB / 493.8 MB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006992/0.5671, allocations: 309.8 kB / 494.1 MB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.515e-06/0.5672, allocations: 4 kB / 494.1 MB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.664e-06/0.5672, allocations: 4 kB / 494.1 MB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.59e-06/0.5672, allocations: 3.984 kB / 494.1 MB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.5687, allocations: 0.7484 MB / 494.9 MB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-06/0.5687, allocations: 0 / 494.9 MB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006196/0.5693, allocations: 87.89 kB / 495 MB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.804e-06/0.5693, allocations: 0 / 495 MB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/0.5694, allocations: 8 kB / 495 MB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.509e-06/0.5694, allocations: 0 / 495 MB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.96e-06/0.5694, allocations: 4 kB / 495 MB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009347/0.5704, allocations: 495.4 kB / 495.5 MB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/0.5706, allocations: 132.6 kB / 495.6 MB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.63e-05/0.5707, allocations: 12 kB / 495.6 MB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/0.571, allocations: 15.98 kB / 495.6 MB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.5711, allocations: 19.91 kB / 495.6 MB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.5711, allocations: 15.94 kB / 495.7 MB, free: 11.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003757/0.5715, allocations: 242.2 kB / 495.9 MB, free: 11.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.55e-07/0.5715, allocations: 0 / 495.9 MB, free: 11.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000524/0.5721, allocations: 88 kB / 496 MB, free: 11.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt,torqueGen_a.y,torqueGen_b.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * 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 Backend phase and start with SimCode phase: time 0.0001888/0.5723, allocations: 115.3 kB / 496.1 MB, free: 11.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009749/0.5732, allocations: 283.7 kB / 496.4 MB, free: 10.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.937e-06/0.5733, allocations: 0 / 496.4 MB, free: 10.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002806/0.5736, allocations: 123.7 kB / 496.5 MB, free: 10.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.5741, allocations: 73.5 kB / 496.6 MB, free: 10.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.5763, allocations: 0.8928 MB / 497.4 MB, free: 9.695 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005318/0.5768, allocations: 0.8267 MB / 498.3 MB, free: 8.844 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002479/0.5771, allocations: 42.94 kB / 498.3 MB, free: 8.801 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.5773, allocations: 31.44 kB / 498.3 MB, free: 8.77 MB / 426.7 MB Notification: Performance of SimCode: time 2.031e-06/0.5773, allocations: 0 / 498.3 MB, free: 8.77 MB / 426.7 MB Notification: Performance of Templates: time 0.01254/0.5898, allocations: 3.837 MB / 0.4904 GB, free: 4.953 MB / 426.7 MB