Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadModel(ModelicaTest): time 2.399/2.399, allocations: 269 MB / 284.1 MB, free: 3.621 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.971e-05/2.984e-05, allocations: 8 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1301, allocations: 61.9 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009008/0.1391, allocations: 5.384 MB / 416.3 MB, free: 7.441 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004966/0.1441, allocations: 1.927 MB / 418.2 MB, free: 5.512 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007309/0.1449, allocations: 24 kB / 418.3 MB, free: 5.488 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007684/0.1457, allocations: 202.7 kB / 418.5 MB, free: 5.289 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002956/0.1487, allocations: 0.7087 MB / 419.2 MB, free: 4.578 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00197/0.1507, allocations: 458.8 kB / 419.6 MB, free: 4.129 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001958/0.1527, allocations: 0.6085 MB / 420.2 MB, free: 3.516 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003477/0.1562, allocations: 1.127 MB / 421.4 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000826/0.1571, allocations: 343.1 kB / 421.7 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008893/0.158, allocations: 450.6 kB / 422.1 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000933/0.1589, allocations: 191.8 kB / 422.3 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002587/0.1592, allocations: 44 kB / 422.4 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.1594, allocations: 175.3 kB / 422.5 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003024/0.1598, allocations: 88 kB / 422.6 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002056/0.1618, allocations: 1.064 MB / 423.7 MB, free: 36 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.1619, allocations: 4 kB / 423.7 MB, free: 32 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.1619, allocations: 0 / 423.7 MB, free: 32 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.862e-05/0.162, allocations: 0 / 423.7 MB, free: 32 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.3221/0.4841, allocations: 1.429 MB / 425.1 MB, free: 12.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.4841, allocations: 9.125 kB / 425.1 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0149/0.4991, allocations: 1.33 MB / 426.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/0.5008, allocations: 0.5104 MB / 427 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.501, allocations: 96.48 kB / 427.1 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000438/0.5014, allocations: 121.9 kB / 427.2 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004041/0.5055, allocations: 1.131 MB / 428.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.288e-05/0.5056, allocations: 2.969 kB / 428.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002062/0.5058, allocations: 50.12 kB / 428.4 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.87e-05/0.5059, allocations: 32.06 kB / 428.4 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004457/0.5103, allocations: 1.371 MB / 429.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01325/0.5236, allocations: 4.711 MB / 434.5 MB, free: 8.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003006/0.5267, allocations: 0.9301 MB / 435.4 MB, free: 7.781 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000204/0.527, allocations: 99.59 kB / 435.5 MB, free: 7.688 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.527, allocations: 45.44 kB / 435.5 MB, free: 7.641 MB / 346.7 MB Notification: Performance of pre-optimization done (n=89): time 3.917e-06/0.527, allocations: 0 / 435.5 MB, free: 7.641 MB / 346.7 MB Notification: Performance of matching and sorting (n=89): time 0.003689/0.5307, allocations: 1.197 MB / 436.7 MB, free: 7.008 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.5308, allocations: 60.66 kB / 436.8 MB, free: 6.945 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.5323, allocations: 0.7005 MB / 437.5 MB, free: 6.617 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001991/0.5325, allocations: 41.64 kB / 437.5 MB, free: 6.574 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/0.5329, allocations: 483.4 kB / 438 MB, free: 6.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00033/0.5332, allocations: 302.9 kB / 438.3 MB, free: 5.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.073e-05/0.5333, allocations: 20.16 kB / 438.3 MB, free: 5.914 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5335, allocations: 349.2 kB / 438.7 MB, free: 5.586 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/0.5346, allocations: 342 kB / 439 MB, free: 5.453 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.5358, allocations: 0.5556 MB / 439.6 MB, free: 5.047 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.5371, allocations: 419.6 kB / 440 MB, free: 4.836 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.5371, allocations: 1.125 kB / 440 MB, free: 4.836 MB / 346.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003246/0.5404, allocations: 1.086 MB / 441.1 MB, free: 4.355 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.394e-05/0.5405, allocations: 12 kB / 441.1 MB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/0.5405, allocations: 7.156 kB / 441.1 MB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004129/0.5409, allocations: 66.22 kB / 441.1 MB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/0.5429, allocations: 248.3 kB / 441.4 MB, free: 4.301 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/0.5452, allocations: 2.647 MB / 444 MB, free: 1.633 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.5469, allocations: 140.9 kB / 444.2 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/0.5471, allocations: 47.66 kB / 444.2 MB, free: 1.527 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 131 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005585/0.5477, allocations: 246.1 kB / 444.5 MB, free: 1.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002412/0.5479, allocations: 86.56 kB / 444.5 MB, free: 1.277 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003077/0.551, allocations: 1.11 MB / 445.6 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.5511, allocations: 18 kB / 445.7 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.5511, allocations: 4 kB / 445.7 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/0.5511, allocations: 5.531 kB / 445.7 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006545/0.5577, allocations: 2.699 MB / 448.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/0.5578, allocations: 6.094 kB / 448.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001458/0.5592, allocations: 174.7 kB / 448.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003822/0.5596, allocations: 67.95 kB / 448.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/0.5598, allocations: 26.83 kB / 448.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002714/0.5625, allocations: 2.631 MB / 451.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.315e-05/0.5626, allocations: 10.16 kB / 451.3 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004216/0.5668, allocations: 1.77 MB / 453.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005375/0.5674, allocations: 208.8 kB / 453.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002788/0.5677, allocations: 26.03 kB / 453.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.5688, allocations: 55.88 kB / 453.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/0.5691, allocations: 80.11 kB / 453.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-05/0.5692, allocations: 33.84 kB / 453.4 MB, free: 10.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001175/0.5704, allocations: 0.5424 MB / 454 MB, free: 10.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5704, allocations: 4.906 kB / 454 MB, free: 10.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001611/0.572, allocations: 285.2 kB / 454.3 MB, free: 10.35 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 90 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004101/0.5725, allocations: 167.9 kB / 454.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003219/0.5757, allocations: 1.065 MB / 455.5 MB, free: 9.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/0.5758, allocations: 1.594 kB / 455.5 MB, free: 9.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001701/0.5775, allocations: 0.6165 MB / 456.1 MB, free: 9.258 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.5786, allocations: 104.4 kB / 456.2 MB, free: 9.199 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005191/0.5838, allocations: 2.13 MB / 458.4 MB, free: 7.613 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007788/0.5846, allocations: 1.011 MB / 459.4 MB, free: 6.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006686/0.5853, allocations: 90.92 kB / 459.5 MB, free: 6.75 MB / 362.7 MB Notification: Performance of SimCode: time 1.453e-06/0.5854, allocations: 1.375 kB / 459.5 MB, free: 6.75 MB / 362.7 MB Notification: Performance of Templates: time 0.03788/0.6232, allocations: 18.97 MB / 478.4 MB, free: 5.336 MB / 378.7 MB