Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") Notification: Performance of loadModel(ModelicaTest): time 2.347/2.347, allocations: 269 MB / 284.1 MB, free: 3.562 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.18e-05/3.173e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1282, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.35/0.4782, allocations: 15.26 MB / 426.2 MB, free: 3.039 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01231/0.4906, allocations: 4.311 MB / 430.5 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004599/0.4952, allocations: 159.4 kB / 430.6 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004376/0.4996, allocations: 0.9186 MB / 431.6 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008984/0.5087, allocations: 1.666 MB / 433.2 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004818/0.5135, allocations: 0.9155 MB / 434.1 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01425/0.5278, allocations: 5.978 MB / 440.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05251/0.5803, allocations: 18.1 MB / 458.2 MB, free: 6.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008431/0.5888, allocations: 3.174 MB / 461.4 MB, free: 5.316 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01022/0.5991, allocations: 3.74 MB / 465.1 MB, free: 2.082 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005636/0.6048, allocations: 467.8 kB / 465.6 MB, free: 1.625 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002801/0.6076, allocations: 316 kB / 465.9 MB, free: 1.316 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004169/0.6119, allocations: 1.774 MB / 467.7 MB, free: 15.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005128/0.617, allocations: 0.8398 MB / 468.5 MB, free: 14.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03188/0.649, allocations: 19.78 MB / 488.3 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.649, allocations: 0 / 488.3 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.6491, allocations: 0 / 488.3 MB, free: 10.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006776/0.6497, allocations: 0 / 488.3 MB, free: 10.86 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.05399/0.7037, allocations: 11.62 MB / 499.9 MB, free: 15.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.7038, allocations: 12.03 kB / 499.9 MB, free: 15.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09476/0.7986, allocations: 11.45 MB / 0.4994 GB, free: 3.648 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02242/0.8211, allocations: 7.18 MB / 0.5064 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001371/0.8225, allocations: 0.891 MB / 0.5073 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005631/0.8282, allocations: 1.172 MB / 0.5084 GB, free: 10.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.063/0.8912, allocations: 18.36 MB / 0.5264 GB, free: 7.898 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006667/0.8919, allocations: 19.89 kB / 0.5264 GB, free: 7.879 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004427/0.8964, allocations: 492 kB / 0.5268 GB, free: 7.398 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00109/0.8975, allocations: 0.6539 MB / 0.5275 GB, free: 6.742 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0607/0.9582, allocations: 18.96 MB / 0.546 GB, free: 3.762 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1658/1.124, allocations: 60.56 MB / 0.6051 GB, free: 6.086 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7338/1.858, allocations: 16.52 MB / 0.6213 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001151/1.859, allocations: 237.5 kB / 0.6215 GB, free: 131.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/1.859, allocations: 108.9 kB / 0.6216 GB, free: 131.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=653): time 1.135e-05/1.859, allocations: 0 / 0.6216 GB, free: 131.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=653): time 0.03676/1.896, allocations: 12.21 MB / 0.6335 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/1.896, allocations: 121.3 kB / 0.6336 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02018/1.916, allocations: 7.742 MB / 0.6412 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001225/1.918, allocations: 136.5 kB / 0.6413 GB, free: 125 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003811/1.922, allocations: 4.056 MB / 0.6453 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003077/1.925, allocations: 2.188 MB / 0.6474 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00101/1.926, allocations: 155.7 kB / 0.6476 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005959/1.926, allocations: 0.6288 MB / 0.6482 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01061/1.937, allocations: 4.053 MB / 0.6521 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01272/1.95, allocations: 6.867 MB / 0.6588 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01299/1.963, allocations: 5.565 MB / 0.6643 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001091/1.963, allocations: 28.31 kB / 0.6643 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=983) (initialization): time 0.03036/1.993, allocations: 11.52 MB / 0.6756 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.625e-05/1.993, allocations: 51.75 kB / 0.6756 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001773/1.994, allocations: 93.94 kB / 0.6757 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001419/1.995, allocations: 389.6 kB / 0.6761 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01422/2.009, allocations: 2.007 MB / 0.678 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007684/2.017, allocations: 8.787 MB / 0.6866 GB, free: 97.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01028/2.027, allocations: 1.341 MB / 0.6879 GB, free: 96.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001774/2.029, allocations: 383.8 kB / 0.6883 GB, free: 96.09 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 420 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (977): * Single equations (assignments): 971 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01082/2.04, allocations: 4.558 MB / 0.6927 GB, free: 92.31 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001915/2.042, allocations: 0.702 MB / 0.6934 GB, free: 91.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02824/2.07, allocations: 10.53 MB / 0.7037 GB, free: 81.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-05/2.07, allocations: 68 kB / 0.7038 GB, free: 81.04 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.117e-05/2.07, allocations: 4 kB / 0.7038 GB, free: 81.03 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001633/2.071, allocations: 33.84 kB / 0.7038 GB, free: 81 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7031/2.774, allocations: 155.9 MB / 0.856 GB, free: 165.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003763/2.774, allocations: 85 kB / 0.8561 GB, free: 165.8 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01126/2.785, allocations: 1.538 MB / 0.8576 GB, free: 165.6 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001436/2.787, allocations: 371.5 kB / 0.858 GB, free: 165.5 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001468/2.788, allocations: 242.1 kB / 0.8582 GB, free: 165.4 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008212/2.797, allocations: 8.687 MB / 0.8667 GB, free: 157.4 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.812e-05/2.797, allocations: 144 kB / 0.8668 GB, free: 157.3 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0554/2.852, allocations: 33.63 MB / 0.8996 GB, free: 129 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007216/2.86, allocations: 2.002 MB / 0.9016 GB, free: 128.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00362/2.863, allocations: 243 kB / 0.9018 GB, free: 128.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009424/2.873, allocations: 0.552 MB / 0.9024 GB, free: 128 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002014/2.875, allocations: 0.7291 MB / 0.9031 GB, free: 127.7 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001291/2.876, allocations: 305.4 kB / 0.9034 GB, free: 127.7 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.01442/2.89, allocations: 5.938 MB / 0.9092 GB, free: 125.6 MB / 0.5574 GB Notification: Performance of sort global known variables: time 8.62e-07/2.891, allocations: 0 / 0.9092 GB, free: 125.6 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01282/2.903, allocations: 2.614 MB / 0.9117 GB, free: 123.6 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (721): * Single equations (assignments): 715 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(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.002328/2.906, allocations: 478.2 kB / 0.9122 GB, free: 123.1 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.03274/2.939, allocations: 10.27 MB / 0.9222 GB, free: 114.3 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 9.072e-05/2.939, allocations: 12 kB / 0.9222 GB, free: 114.3 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.01568/2.954, allocations: 5.393 MB / 0.9275 GB, free: 109.6 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01631/2.971, allocations: 1.361 MB / 0.9288 GB, free: 108.5 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08428/3.055, allocations: 27.51 MB / 0.9557 GB, free: 79.71 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01957/3.075, allocations: 7.701 MB / 0.9632 GB, free: 71.98 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008194/3.083, allocations: 0.6322 MB / 0.9638 GB, free: 71.34 MB / 0.5574 GB Notification: Performance of SimCode: time 2.014e-06/3.083, allocations: 0 / 0.9638 GB, free: 71.34 MB / 0.5574 GB Notification: Performance of Templates: time 1.563/4.646, allocations: 0.5072 GB / 1.471 GB, free: 40.08 MB / 0.6043 GB