Running command: translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 2.359/2.359, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.775e-05/2.768e-05, allocations: 4 kB / 294.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 50.42 MB / 345 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008209/0.1192, allocations: 4.93 MB / 349.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004287/0.1236, allocations: 1.492 MB / 351.4 MB, free: 2.508 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.1247, allocations: 59.88 kB / 351.5 MB, free: 2.449 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000814/0.1255, allocations: 242.5 kB / 351.7 MB, free: 2.211 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.1274, allocations: 330.9 kB / 352 MB, free: 1.887 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008262/0.1282, allocations: 207.7 kB / 352.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002498/0.1307, allocations: 1.018 MB / 353.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002542/0.1333, allocations: 1.292 MB / 354.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.1345, allocations: 0.5494 MB / 355.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001624/0.1362, allocations: 0.7318 MB / 355.8 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006715/0.1368, allocations: 167.8 kB / 356 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003131/0.1372, allocations: 72 kB / 356 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005785/0.1378, allocations: 430.5 kB / 356.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005328/0.1383, allocations: 176 kB / 356.6 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004479/0.1428, allocations: 2.883 MB / 359.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1429, allocations: 4 kB / 359.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.1429, allocations: 3.938 kB / 359.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.00012/0.143, allocations: 0 / 359.5 MB, free: 10.34 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.006326/0.1494, allocations: 1.982 MB / 361.5 MB, free: 8.301 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.1494, allocations: 8.031 kB / 361.5 MB, free: 8.293 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000961/0.1504, allocations: 229.3 kB / 361.7 MB, free: 8.066 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003356/0.1538, allocations: 1.208 MB / 362.9 MB, free: 6.812 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/0.154, allocations: 160.2 kB / 363.1 MB, free: 6.652 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006279/0.1547, allocations: 200 kB / 363.3 MB, free: 6.457 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007786/0.1625, allocations: 2.591 MB / 365.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.299e-05/0.1626, allocations: 4 kB / 365.9 MB, free: 3.773 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002862/0.1629, allocations: 87.94 kB / 366 MB, free: 3.688 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/0.163, allocations: 55.98 kB / 366 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007059/0.1701, allocations: 2.077 MB / 368.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02027/0.1904, allocations: 7.439 MB / 375.6 MB, free: 9.922 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0039/0.1944, allocations: 2.36 MB / 377.9 MB, free: 7.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/0.1945, allocations: 13 kB / 377.9 MB, free: 7.328 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.067e-05/0.1946, allocations: 39.56 kB / 378 MB, free: 7.281 MB / 314.7 MB Notification: Performance of pre-optimization done (n=96): time 4.178e-06/0.1946, allocations: 0 / 378 MB, free: 7.281 MB / 314.7 MB Notification: Performance of matching and sorting (n=97): time 0.01351/0.2081, allocations: 4.352 MB / 382.3 MB, free: 2.766 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/0.2082, allocations: 68.41 kB / 382.4 MB, free: 2.688 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.21, allocations: 0.7578 MB / 383.1 MB, free: 1.918 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001879/0.2102, allocations: 41.7 kB / 383.2 MB, free: 1.871 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007559/0.2109, allocations: 0.8357 MB / 384 MB, free: 1.023 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004742/0.2114, allocations: 331.3 kB / 384.3 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-05/0.2115, allocations: 20 kB / 384.4 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.2117, allocations: 350.8 kB / 384.7 MB, free: 332 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.2131, allocations: 0.49 MB / 385.2 MB, free: 15.83 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/0.2147, allocations: 0.6738 MB / 385.9 MB, free: 15.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/0.2163, allocations: 0.569 MB / 386.4 MB, free: 14.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.2163, allocations: 0 / 386.4 MB, free: 14.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004392/0.2207, allocations: 1.562 MB / 388 MB, free: 12.94 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.2208, allocations: 15.94 kB / 388 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-05/0.2209, allocations: 8 kB / 388 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001853/0.2227, allocations: 474.9 kB / 388.5 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.2241, allocations: 171.8 kB / 388.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0136/0.2378, allocations: 8.592 MB / 397.2 MB, free: 3.137 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.2389, allocations: 51.95 kB / 397.3 MB, free: 3.086 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.2391, allocations: 35.94 kB / 397.3 MB, free: 3.051 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001637/0.2407, allocations: 0.6465 MB / 398 MB, free: 2.395 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000368/0.2411, allocations: 94.88 kB / 398.1 MB, free: 2.301 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003565/0.2415, allocations: 134 kB / 398.2 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.554e-05/0.2416, allocations: 8 kB / 398.2 MB, free: 2.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.841e-05/0.2416, allocations: 7.953 kB / 398.2 MB, free: 2.152 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.2416, allocations: 3.984 kB / 398.2 MB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2914/0.533, allocations: 3.508 MB / 401.7 MB, free: 48.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.5331, allocations: 1.094 kB / 401.7 MB, free: 48.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/0.5343, allocations: 127.4 kB / 401.9 MB, free: 48.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001829/0.5361, allocations: 457.3 kB / 402.3 MB, free: 48.31 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/0.5363, allocations: 19.78 kB / 402.3 MB, free: 48.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01212/0.5485, allocations: 8.532 MB / 410.9 MB, free: 42.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.5485, allocations: 1 kB / 410.9 MB, free: 42.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006087/0.5546, allocations: 2.339 MB / 413.2 MB, free: 41.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008167/0.5555, allocations: 280.3 kB / 413.5 MB, free: 40.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002739/0.5558, allocations: 26.8 kB / 413.5 MB, free: 40.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008135/0.5566, allocations: 46.33 kB / 413.5 MB, free: 40.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000336/0.557, allocations: 84.88 kB / 413.6 MB, free: 40.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.855e-05/0.5571, allocations: 33.58 kB / 413.7 MB, free: 40.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001243/0.5583, allocations: 0.6006 MB / 414.3 MB, free: 40.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.5583, allocations: 0 / 414.3 MB, free: 40.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002327/0.5607, allocations: 381 kB / 414.6 MB, free: 40.65 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004542/0.5612, allocations: 142.2 kB / 414.8 MB, free: 40.55 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004251/0.5654, allocations: 1.826 MB / 416.6 MB, free: 39.62 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.5655, allocations: 0 / 416.6 MB, free: 39.62 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002645/0.5682, allocations: 1.243 MB / 417.8 MB, free: 38.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/0.5703, allocations: 275.3 kB / 418.1 MB, free: 38.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009295/0.5796, allocations: 4.368 MB / 422.5 MB, free: 36.39 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001681/0.5813, allocations: 1.721 MB / 424.2 MB, free: 35.49 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003983/0.5818, allocations: 67.12 kB / 424.3 MB, free: 35.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.542e-06/0.5818, allocations: 0 / 424.3 MB, free: 35.48 MB / 330.7 MB [CodegenCpp.tpl:10820:11-10820:11:writable] Error: Template error: Unsupported type of array call assign: ERROR:expTypeFromExpFlag Modelica.Electrical.Machines.SpacePhasors.Functions.ToSpacePhasor({supplyL.inductor[1].i, supplyL.inductor[2].i, supplyL.inductor[3].i})[1] . [CodegenCpp.tpl:10820:11-10820:11:writable] Error: Template error: Unsupported type of array call assign: ERROR:expTypeFromExpFlag Modelica.Electrical.Machines.SpacePhasors.Functions.ToSpacePhasor({reactivePowerSensor.plugToPins_p.pin_p[1].v - starS.plug_p.pin[3].v, reactivePowerSensor.plugToPins_p.pin_p[2].v - starS.plug_p.pin[3].v, reactivePowerSensor.plugToPins_p.pin_p[3].v - starS.plug_p.pin[3].v})[1] . [CodegenCpp.tpl:10820:11-10820:11:writable] Error: Template error: Unsupported type of array call assign: ERROR:expTypeFromExpFlag Modelica.Electrical.Machines.SpacePhasors.Functions.ToSpacePhasor({supplyL.i[1], supplyL.inductor[2].i, supplyL.inductor[3].i})[1] . [CodegenCpp.tpl:10820:11-10820:11:writable] Error: Template error: Unsupported type of array call assign: ERROR:expTypeFromExpFlag Modelica.Electrical.Machines.SpacePhasors.Functions.ToSpacePhasor({reactivePowerSensor.plugToPins_p.pin_p[1].v - starS.plug_p.pin[3].v, reactivePowerSensor.plugToPins_p.pin_p[2].v - starS.plug_p.pin[3].v, reactivePowerSensor.plugToPins_p.pin_p[3].v - starS.plug_p.pin[3].v})[1] .