Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 2.119/2.119, allocations: 224.8 MB / 241.1 MB, free: 1.645 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.285e-05/3.286e-05, allocations: 7.984 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1229, allocations: 50.41 MB / 345 MB, free: 8.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.008366/0.1313, allocations: 4.91 MB / 349.9 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005072/0.1364, allocations: 1.874 MB / 351.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000838/0.1373, allocations: 31.94 kB / 351.8 MB, free: 2.082 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006553/0.138, allocations: 170.8 kB / 352 MB, free: 1.914 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002362/0.1404, allocations: 0.6306 MB / 352.6 MB, free: 1.281 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.1417, allocations: 347.2 kB / 352.9 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001575/0.1433, allocations: 0.585 MB / 353.5 MB, free: 364 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002076/0.1454, allocations: 0.8237 MB / 354.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007118/0.1461, allocations: 303.2 kB / 354.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007679/0.1469, allocations: 402.6 kB / 355 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000698/0.1476, allocations: 171.8 kB / 355.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001994/0.1478, allocations: 40 kB / 355.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002092/0.1481, allocations: 167.3 kB / 355.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002571/0.1483, allocations: 84 kB / 355.5 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001765/0.1501, allocations: 1.048 MB / 356.5 MB, free: 13.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1502, allocations: 0 / 356.5 MB, free: 13.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.1502, allocations: 0 / 356.5 MB, free: 13.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.338e-05/0.1502, allocations: 0 / 356.5 MB, free: 13.3 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003954/0.1542, allocations: 1.195 MB / 357.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.1542, allocations: 8.031 kB / 357.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003311/0.1576, allocations: 378.3 kB / 358.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.159, allocations: 0.5412 MB / 358.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.487e-05/0.1591, allocations: 74 kB / 358.7 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002289/0.1594, allocations: 103.9 kB / 358.8 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002896/0.1623, allocations: 1.008 MB / 359.8 MB, free: 9.887 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.055e-05/0.1624, allocations: 7.906 kB / 359.8 MB, free: 9.879 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/0.1625, allocations: 40 kB / 359.9 MB, free: 9.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.555e-05/0.1626, allocations: 31.94 kB / 359.9 MB, free: 9.809 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002882/0.1655, allocations: 0.8705 MB / 360.8 MB, free: 8.938 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008745/0.1743, allocations: 3.554 MB / 364.3 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003759/0.1781, allocations: 1.904 MB / 366.2 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002087/0.1783, allocations: 93.75 kB / 366.3 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00148/0.1798, allocations: 0.4891 MB / 366.8 MB, free: 2.441 MB / 298.7 MB Notification: Performance of pre-optimization done (n=84): time 4.408e-06/0.1798, allocations: 0 / 366.8 MB, free: 2.441 MB / 298.7 MB Notification: Performance of matching and sorting (n=84): time 0.007832/0.1877, allocations: 1.673 MB / 368.5 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.1879, allocations: 192.9 kB / 368.7 MB, free: 500 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007825/0.1887, allocations: 405 kB / 369.1 MB, free: 88 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.1888, allocations: 49.73 kB / 369.1 MB, free: 32 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004218/0.1893, allocations: 454 kB / 369.6 MB, free: 15.58 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003559/0.1896, allocations: 268.1 kB / 369.8 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-05/0.1897, allocations: 20 kB / 369.8 MB, free: 15.3 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1899, allocations: 346.8 kB / 370.2 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.1909, allocations: 277.9 kB / 370.5 MB, free: 14.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.1921, allocations: 499.2 kB / 370.9 MB, free: 14.1 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.1933, allocations: 327 kB / 371.3 MB, free: 13.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.1933, allocations: 0 / 371.3 MB, free: 13.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.003348/0.1966, allocations: 1.011 MB / 372.3 MB, free: 12.76 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.1967, allocations: 14.92 kB / 372.3 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/0.1968, allocations: 8.031 kB / 372.3 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/0.1982, allocations: 271.5 kB / 372.6 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.1994, allocations: 147.8 kB / 372.7 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008457/0.2079, allocations: 4.476 MB / 377.2 MB, free: 7.578 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.2091, allocations: 99.33 kB / 377.3 MB, free: 7.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.2092, allocations: 35.98 kB / 377.3 MB, free: 7.445 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.iDC2.mean.y_last,iDC2.mean.y_last,$PRE.iAC.mean1.y_last,iAC.mean1.y_last,$PRE.iAC.mean2.y_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * 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: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of prepare postOptimizeDAE: time 0.000598/0.2098, allocations: 237.5 kB / 377.5 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/0.21, allocations: 79.14 kB / 377.6 MB, free: 7.125 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003547/0.2136, allocations: 1.017 MB / 378.6 MB, free: 6.094 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/0.2137, allocations: 12 kB / 378.7 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2137, allocations: 0 / 378.7 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/0.2137, allocations: 3.984 kB / 378.7 MB, free: 6.078 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005276/0.219, allocations: 1.921 MB / 380.6 MB, free: 4.098 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.2191, allocations: 8 kB / 380.6 MB, free: 4.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009234/0.22, allocations: 99.88 kB / 380.7 MB, free: 3.992 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00139/0.2214, allocations: 264.1 kB / 380.9 MB, free: 3.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/0.2215, allocations: 19.94 kB / 381 MB, free: 3.711 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008039/0.2296, allocations: 4.432 MB / 385.4 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/0.2296, allocations: 7.938 kB / 385.4 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004527/0.2342, allocations: 1.415 MB / 386.8 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005531/0.2348, allocations: 208.1 kB / 387 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/0.235, allocations: 23.98 kB / 387 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008179/0.2358, allocations: 51.97 kB / 387.1 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000268/0.2361, allocations: 60.91 kB / 387.1 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.299e-05/0.2362, allocations: 27.98 kB / 387.2 MB, free: 13.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005689/0.2368, allocations: 302.9 kB / 387.5 MB, free: 12.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.2368, allocations: 0 / 387.5 MB, free: 12.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001534/0.2384, allocations: 315 kB / 387.8 MB, free: 12.57 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y_last) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003802/0.2388, allocations: 155.9 kB / 387.9 MB, free: 12.41 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00326/0.242, allocations: 1.096 MB / 389 MB, free: 11.29 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.2421, allocations: 3.984 kB / 389 MB, free: 11.29 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002039/0.2441, allocations: 0.7514 MB / 389.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008998/0.2451, allocations: 104.9 kB / 389.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004968/0.2501, allocations: 2.024 MB / 391.9 MB, free: 8.355 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008119/0.2509, allocations: 1.01 MB / 392.9 MB, free: 7.316 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003604/0.2513, allocations: 59.41 kB / 393 MB, free: 7.258 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.2513, allocations: 4 kB / 393 MB, free: 7.254 MB / 330.7 MB Notification: Performance of Templates: time 0.3049/0.5562, allocations: 16.47 MB / 409.5 MB, free: 47.26 MB / 330.7 MB